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: Readonly<WritableXAndY>, pointB: Readonly<WritableXAndY>, pointC: Readonly<WritableXAndY>): void
| Parameter | Type | Description | 
|---|---|---|
| pointA | Readonly<WritableXAndY> | |
| pointB | Readonly<WritableXAndY> | |
| pointC | Readonly<WritableXAndY> | 
Returns - void
Defined in
- geometry4d/MomentData.ts Line 302
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.