# LengthMassProperties class

Namespace: [Rhino.Geometry](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.geometry.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public class LengthMassProperties : IDisposable
```

Contains static initialization methods and allows access to the computed metrics of length, length centroid, and length moments in curves.

## Finalizer

- [~LengthMassProperties](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/finalize.md): Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().

## Properties

- [Centroid](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/centroid.md): Gets the length centroid in the world coordinate system.
- [CentroidCoordinatesMomentsOfInertia](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/centroidcoordinatesmomentsofinertia.md): Moments of inertia with respect to centroid coordinate system. X = integral of ((y-y0)^2 + (z-z0)^2) dm Y = integral of ((z-z0)^2 + (x-x0)^2) dm Z = integral of ((z-z0)^2 + (y-y0)^2) dm where (x0,y0,z0) = centroid.
- [CentroidCoordinatesMomentsOfInertiaError](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/centroidcoordinatesmomentsofinertiaerror.md): Uncertainty in centroid coordinates moments of inertia calculation.
- [CentroidCoordinatesProductMoments](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/centroidcoordinatesproductmoments.md): Product moments with respect to centroid coordinate system.
- [CentroidCoordinatesProductMomentsError](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/centroidcoordinatesproductmomentserror.md): Uncertainty in product moments with respect to centroid coordinate system.
- [CentroidCoordinatesRadiiOfGyration](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/centroidcoordinatesradiiofgyration.md): Radii of gyration with respect to centroid coordinate system. X = sqrt(integral of ((y-y0)^2 + (z-z0)^2) dm/M) Y = sqrt(integral of ((z-z0)^2 + (x-x0)^2) dm/M) Z = sqrt(integral of ((z-z0)^2 + (y-y0)^2) dm/M) where (x0,y0,z0) = centroid.
- [CentroidCoordinatesSecondMoments](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/centroidcoordinatessecondmoments.md): Second moments with respect to centroid coordinate system. X = integral of (x-x0)^2 dm Y = integral of (y-y0)^2 dm Z = integral of (z-z0)^2 dm where (x0,y0,z0) = centroid.
- [CentroidCoordinatesSecondMomentsError](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/centroidcoordinatessecondmomentserror.md): Uncertainty in centroid coordinates second moments calculation.
- [CentroidError](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/centroiderror.md): Gets the uncertainty in the centroid calculation.
- [Length](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/length.md): Gets the length solution.
- [LengthError](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/lengtherror.md): Gets the uncertainty in the length calculation.
- [WorldCoordinatesFirstMoments](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/worldcoordinatesfirstmoments.md): Returns the world coordinate first moments if they were able to be calculated. X is integral of "x dm" over the length Y is integral of "y dm" over the length Z is integral of "z dm" over the length.
- [WorldCoordinatesFirstMomentsError](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/worldcoordinatesfirstmomentserror.md): Uncertainty in world coordinates first moments calculation.
- [WorldCoordinatesMomentsOfInertia](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/worldcoordinatesmomentsofinertia.md): The moments of inertia about the world coordinate axes. X = integral of (y^2 + z^2) dm Y = integral of (z^2 + x^2) dm Z = integral of (z^2 + y^2) dm.
- [WorldCoordinatesMomentsOfInertiaError](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/worldcoordinatesmomentsofinertiaerror.md): Uncertainty in world coordinates moments of inertia calculation.
- [WorldCoordinatesProductMoments](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/worldcoordinatesproductmoments.md): Returns the world coordinate product moments if they were able to be calculated. X is integral of "xy dm" over the length Y is integral of "yz dm" over the length Z is integral of "zx dm" over the length.
- [WorldCoordinatesProductMomentsError](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/worldcoordinatesproductmomentserror.md): Uncertainty in world coordinates second moments calculation.
- [WorldCoordinatesRadiiOfGyration](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/worldcoordinatesradiiofgyration.md): Radii of gyration with respect to world coordinate system. X = sqrt(integral of (y^2 + z^2) dm/M) Y = sqrt(integral of (z^2 + x^2) dm/M) Z = sqrt(integral of (z^2 + y^2) dm/M)
- [WorldCoordinatesSecondMoments](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/worldcoordinatessecondmoments.md): Returns the world coordinate second moments if they were able to be calculated. X is integral of "xx dm" over the length Y is integral of "yy dm" over the length Z is integral of "zz dm" over the length.
- [WorldCoordinatesSecondMomentsError](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/worldcoordinatessecondmomentserror.md): Uncertainty in world coordinates second moments calculation.

## Methods

- [CentroidCoordinatesPrincipalMoments](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/centroidcoordinatesprincipalmoments.md): Calculates the eigenvalues and eigenvectors of the moments matrix with respect to centroid coordinates.
- [CentroidCoordinatesPrincipalMomentsOfInertia](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/centroidcoordinatesprincipalmomentsofinertia.md): Calculates the principal moments of inertia and principal axes with respect to centroid coordinates.
- [Compute](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/compute.md): (4 overloads, static) Calculates the length mass properties of a curve.
- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/dispose.md): (2 overloads) Actively reclaims unmanaged resources that this instance uses.
- [Sum](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/sum.md): (2 overloads) Sum mass properties together to get an aggregate mass.
- [WeightedSum](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/weightedsum.md): (static) Sum a list of mass properties together to get an aggregate mass, weighting each by a density factor.Ignores existing mass properties in this object.
- [WorldCoordinatesPrincipalMoments](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/worldcoordinatesprincipalmoments.md): Calculates the eigenvalues and eigenvectors of moments matrix in world coordinates.
- [WorldCoordinatesPrincipalMomentsOfInertia](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.lengthmassproperties/worldcoordinatesprincipalmomentsofinertia.md): Calculates the principal moments of inertia and principal axes with respect to world coordinates.
