computeXYZWireMomentSums MethodStatic

Return MomentData with the sums of wire moments.

  • The caller can convert the return value rawMomentData to principal axes and moments with principalMomentData = MomentData.inertiaProductsToPrincipalAxes(rawMomentData.origin, rawMomentData.sums);
  • rawMomentData.origin is the wire centroid of curve.
  • rawMomentData.sums.weight() is the signed length of curve.

computeXYZWireMomentSums(curve: AnyCurve): MomentData | undefined

Parameter Type Description
curve AnyCurve any CurveCollection or CurvePrimitive.

Returns - MomentData | undefined

Defined in

Last Updated: 02 June, 2026