Polyline.IsClosedWithinTolerance Method

PolylineIsClosedWithinTolerance Method

Determines whether the polyline is closed, provided a tolerance value.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
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: Boolean
true if the polyline is closed to within tolerance, false otherwise.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also