VolumeMassPropertiesCompute Method (Surface) |
Compute the VolumeMassProperties for a single Surface.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
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:
VolumeMassPropertiesThe VolumeMassProperties for the given Surface or null on failure.
Exceptions See Also