accumulateTriangleToLineStringMomentsXY Method
compute moments of triangles from a base point to the given linestring. Accumulate them to this.sums.
- If
pointA
is undefined, usethis.origin
as pointA. - If
this.needOrigin
is set, the first point of the array is captured as local origin for subsequent sums.
accumulateTriangleToLineStringMomentsXY(sweepBase: XAndY | undefined, points: GrowableXYZArray): void
Parameter | Type | Description |
---|---|---|
sweepBase | XAndY | undefined | |
points | GrowableXYZArray |
Defined in
Last Updated: 08 January, 2020