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

Contains static initialization methods and allows access to the computed metrics of area, area centroid and area moments in closed planar curves, in meshes, in surfaces, in hatches and in boundary representations.

## Finalizer

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

## Properties

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

## Methods

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