VolumeMassPropertiesCompute Method (Mesh) |
Compute the VolumeMassProperties for a single Mesh.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic static VolumeMassProperties Compute(
Mesh mesh
)
Public Shared Function Compute (
mesh As Mesh
) As VolumeMassProperties
Parameters
- mesh
- Type: Rhino.GeometryMesh
Mesh to measure.
Return Value
Type:
VolumeMassPropertiesThe VolumeMassProperties for the given Mesh or null on failure.
Exceptions
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also