Click or drag to resize

AreaMassPropertiesCompute Method (Curve)

Computes an AreaMassProperties for a closed planar curve.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static AreaMassProperties Compute(
	Curve closedPlanarCurve
)

Parameters

closedPlanarCurve
Type: Rhino.GeometryCurve
Curve to measure.

Return Value

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

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.5
See Also