# VolumeMassProperties 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 VolumeMassProperties : IDisposable
```

Contains static initialization methods and allows access to the computed metrics of volume, volume centroid and volume moments in in solid meshes, in solid surfaces and in solid (closed) boundary representations.

## Finalizer

- [~VolumeMassProperties](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.volumemassproperties/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.volumemassproperties/centroid.md): Gets the volume centroid in the world coordinate system.
- [CentroidCoordinatesMomentsOfInertia](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.volumemassproperties/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.volumemassproperties/centroidcoordinatesmomentsofinertiaerror.md): Uncertainty in centroid coordinates moments of inertia calculation.
- [CentroidCoordinatesProductMoments](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.volumemassproperties/centroidcoordinatesproductmoments.md): Product moments with respect to centroid coordinate system.
- [CentroidCoordinatesProductMomentsError](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.volumemassproperties/centroidcoordinatesproductmomentserror.md): Uncertainty in product moments with respect to centroid coordinate system.
- [CentroidCoordinatesRadiiOfGyration](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.volumemassproperties/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.volumemassproperties/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.volumemassproperties/centroidcoordinatessecondmomentserror.md): Uncertainty in centroid coordinates second moments calculation.
- [CentroidError](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.volumemassproperties/centroiderror.md): Gets the uncertainty in the Centroid calculation.
- [Volume](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.volumemassproperties/volume.md): Gets the volume solution.
- [VolumeError](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.volumemassproperties/volumeerror.md): Gets the uncertainty in the volume calculation.
- [WorldCoordinatesFirstMoments](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.volumemassproperties/worldcoordinatesfirstmoments.md): Returns the world coordinate first moments if they were able to be calculated. X is integral of "x dm" over the volume Y is integral of "y dm" over the volume Z is integral of "z dm" over the volume.
- [WorldCoordinatesFirstMomentsError](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.volumemassproperties/worldcoordinatesfirstmomentserror.md): Uncertainty in world coordinates first moments calculation.
- [WorldCoordinatesMomentsOfInertia](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.volumemassproperties/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.volumemassproperties/worldcoordinatesmomentsofinertiaerror.md): Uncertainty in world coordinates moments of inertia calculation.
- [WorldCoordinatesProductMoments](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.volumemassproperties/worldcoordinatesproductmoments.md): Returns the world coordinate product moments if they were able to be calculated. X is integral of "xy dm" over the volume Y is integral of "yz dm" over the volume Z is integral of "zx dm" over the volume.
- [WorldCoordinatesProductMomentsError](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.volumemassproperties/worldcoordinatesproductmomentserror.md): Uncertainty in world coordinates second moments calculation.
- [WorldCoordinatesRadiiOfGyration](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.volumemassproperties/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.volumemassproperties/worldcoordinatessecondmoments.md): Returns the world coordinate second moments if they were able to be calculated. X is integral of "xx dm" over the volume Y is integral of "yy dm" over the volume Z is integral of "zz dm" over the volume.
- [WorldCoordinatesSecondMomentsError](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.volumemassproperties/worldcoordinatessecondmomentserror.md): Uncertainty in world coordinates second moments calculation.

## Methods

- [CentroidCoordinatesPrincipalMoments](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.volumemassproperties/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.volumemassproperties/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.volumemassproperties/compute.md): (9 overloads, static) Compute the VolumeMassProperties for a single Brep.
- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.volumemassproperties/dispose.md): (2 overloads) Actively reclaims unmanaged resources that this instance uses.
- [Sum](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.volumemassproperties/sum.md): (2 overloads) Sum mass properties together to get an aggregate mass.
- [Transform](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.volumemassproperties/transform.md): On input, this contains the mass properties for some geometry G. On exit, this contains the mass properties for the transformed geometry xform(G).
- [WeightedSum](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.volumemassproperties/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.volumemassproperties/worldcoordinatesprincipalmoments.md): Calculates the eigenvalues and eigenvectors of moments matrix in world coordinates.
- [WorldCoordinatesPrincipalMomentsOfInertia](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.volumemassproperties/worldcoordinatesprincipalmomentsofinertia.md): Calculates the principal moments of inertia and principal axes with respect to world coordinates.
