computeXYZWireMomentSums MethodStatic

Return MomentData with the sums of wire moments.

  • The input curve should lie in a plane parallel to the xy-plane, as z-coords will be ignored.
  • If rawMomentData is the MomentData returned by computeXYAreaMoments, convert to principal axes and moments with call 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: 12 May, 2026