API Reference > geometry-core > Numerics > MomentData > accumulateTriangleMomentsXY accumulateTriangleMomentsXY Method compute moments of a triangle from the origin to the given line. Accumulate them to this.sums. If pointA is undefined, use this.origin as pointA. If this.needOrigin is set, pointB is used accumulateTriangleMomentsXY(pointA: XAndY | undefined, pointB: XAndY, pointC: XAndY): void Parameter Type Description pointA XAndY | undefined pointB XAndY pointC XAndY Returns - void Defined in core/geometry/src/geometry4d/MomentData.ts Line 301 Last Updated: 13 June, 2024