VolumeMassProperties.Compute Method (IEnumerable(GeometryBase))

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)
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 area computation.

Return Value

Type: VolumeMassProperties
The VolumeMassProperties for the entire collection or null on failure.
Version Information

Rhino for Windows

Supported in: 6.14
See Also