M_Rhino_Geometry_VolumeMassProperties_Compute_2 - mcneel/rhinocommon-api-docs GitHub Wiki
Compute the VolumeMassProperties for a single Surface.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static VolumeMassProperties Compute(
Surface surface
)
VB
Public Shared Function Compute (
surface As Surface
) As VolumeMassProperties
- surface
- Type: Rhino.Geometry.Surface
Surface to measure.
Type: VolumeMassProperties
The VolumeMassProperties for the given Surface or null on failure.
Exception | Condition |
---|---|
ArgumentNullException | When surface is null. |
Supported in: 6.0.16224.21491, 5D58w
VolumeMassProperties Class
Compute Overload
Rhino.Geometry Namespace