accumulateTriangleMomentsXY Method
compute moments of a triangle from the origin to the given line. Accumulate them to this.sums.
- If
pointAis undefined, usethis.originas pointA. - If
this.needOriginis set, pointB is used
accumulateTriangleMomentsXY(pointA: XAndY | undefined, pointB: XAndY, pointC: XAndY): void
| Parameter | Type | Description |
|---|---|---|
| pointA | XAndY | undefined | |
| pointB | XAndY | |
| pointC | XAndY |
Defined in
Last Updated: 08 January, 2020