AreaMassProperties.Compute Method (Mesh)

AreaMassPropertiesCompute Method (Mesh)

Computes an AreaMassProperties for a mesh.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static AreaMassProperties Compute(
	Mesh mesh
)
Public Shared Function Compute ( 
	mesh As Mesh
) As AreaMassProperties

Parameters

mesh
Type: Rhino.GeometryMesh
Mesh to measure.

Return Value

Type: AreaMassProperties
The AreaMassProperties for the given Mesh or null on failure.
Exceptions
ExceptionCondition
ArgumentNullExceptionWhen mesh is null.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also