RhinoCommon API
VolumeMassPropertiesCompute Method (IEnumerableGeometryBase) |
Computes the VolumeMassProperties for a collection of geometric objects.
At present only Breps, Surfaces, and Meshes are supported.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public static VolumeMassProperties Compute( IEnumerable<GeometryBase> geometry )
Public Shared Function Compute ( geometry As IEnumerable(Of GeometryBase) ) As VolumeMassProperties
Parameters
- geometry
- Type: System.Collections.GenericIEnumerableGeometryBase
Objects to include in the area computation.
Return Value
Type: VolumeMassPropertiesThe VolumeMassProperties for the entire collection or null on failure.

Rhino for Windows
Supported in: 6.14