VolumeMassProperties.Compute Method (Surface)

VolumeMassPropertiesCompute Method (Surface)

Compute the VolumeMassProperties for a single Surface.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static VolumeMassProperties Compute(
	Surface surface
)
Public Shared Function Compute ( 
	surface As Surface
) As VolumeMassProperties

Parameters

surface
Type: Rhino.GeometrySurface
Surface to measure.

Return Value

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

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also