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) Version: 5.1.50000.0 (5.0.20693.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