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)
Since: 6.3
Syntax 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 volume computation.
Return Value
Type:
VolumeMassPropertiesThe VolumeMassProperties for the entire collection or null on failure.
See Also