Click or drag to resize

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
)

Parameters

closedPlanarCurve
Type: Rhino.GeometryCurve
Curve to measure.
planarTolerance
Type: SystemDouble
absolute tolerance used to insure the closed curve is planar

Return Value

Type: AreaMassProperties
The AreaMassProperties for the given curve or null on failure.
Exceptions
ExceptionCondition
ArgumentNullExceptionWhen closedPlanarCurve is null.
See Also