accumulateTriangleMomentsXY Method
Compute moments of a triangle from the origin. Accumulate them to this.sums
.
- If
this.needOrigin
is set,this.origin
is set topointB
. - If
pointA
is undefined, usethis.origin
aspointA
.
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 301
Last Updated: 27 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.