computeXYAreaMoments MethodStatic

Return moment sums for a loop, parity region, or union region.

  • If rawMomentData is the MomentData returned by computeXYAreaMoments, convert to principal axes and moments with call principalMomentData = MomentData.inertiaProductsToPrincipalAxes (rawMomentData.origin, rawMomentData.sums);

computeXYAreaMoments(root: AnyRegion): MomentData | undefined

Parameter Type Description
root AnyRegion any Loop, ParityRegion, or UnionRegion.

Returns - MomentData | undefined

Defined in

Last Updated: 13 June, 2024