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)
Since: 5.0
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.
See Also