computeXYZWireMomentSums MethodStatic
Return MomentData with the sums of wire moments.
- The caller can convert the return value
rawMomentDatato principal axes and moments withprincipalMomentData = MomentData.inertiaProductsToPrincipalAxes(rawMomentData.origin, rawMomentData.sums); rawMomentData.originis the wire centroid ofcurve.rawMomentData.sums.weight()is the signed length ofcurve.
computeXYZWireMomentSums(curve: AnyCurve): MomentData | undefined
| Parameter | Type | Description |
|---|---|---|
| curve | AnyCurve | any CurveCollection or CurvePrimitive. |
Returns - MomentData | undefined
Defined in
- curve/RegionOps.ts Line 186
Last Updated: 02 June, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.