Click or drag to resize

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


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.6
See Also