Click or drag to resize

VolumeMassPropertiesCompute Method (Brep)

Compute the VolumeMassProperties for a single Brep.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static VolumeMassProperties Compute(
	Brep brep
)

Parameters

brep
Type: Rhino.GeometryBrep
Brep to measure.

Return Value

Type: VolumeMassProperties
The VolumeMassProperties for the given Brep or null on failure.
Exceptions
ExceptionCondition
ArgumentNullExceptionWhen brep is null.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.5
See Also