AreaMassPropertiesCompute Method (Curve) |
Computes an AreaMassProperties for a closed planar curve.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public static AreaMassProperties Compute(
Curve closedPlanarCurve
)
Public Shared Function Compute (
closedPlanarCurve As Curve
) As AreaMassProperties
Parameters
- closedPlanarCurve
- Type: Rhino.GeometryCurve
Curve to measure.
Return Value
Type:
AreaMassPropertiesThe AreaMassProperties for the given curve or null on failure.
Exceptions See Also