RhinoCommon API
PolylineIsClosedWithinTolerance Method |
Determines whether the polyline is closed, provided a tolerance value.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public bool IsClosedWithinTolerance( double tolerance )
Public Function IsClosedWithinTolerance ( tolerance As Double ) As Boolean
Parameters
- tolerance
- Type: SystemDouble
If the distance between the start and end point of the polyline is less than tolerance, the polyline is considered to be closed.
Return Value
Type: Booleantrue if the polyline is closed to within tolerance, false otherwise.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8