AreaMassPropertiesCompute Method (Curve, Double) |
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,
double planarTolerance
)
Public Shared Function Compute (
closedPlanarCurve As Curve,
planarTolerance As Double
) As AreaMassProperties
Parameters
- closedPlanarCurve
- Type: Rhino.GeometryCurve
Curve to measure. - planarTolerance
- Type: SystemDouble
absolute tolerance used to insure the closed curve is planar
Return Value
Type:
AreaMassPropertiesThe AreaMassProperties for the given curve or null on failure.
Exceptions See Also