M_Rhino_Geometry_Polyline_IsClosedWithinTolerance - mcneel/rhinocommon-api-docs GitHub Wiki

Polyline.IsClosedWithinTolerance Method

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

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public bool IsClosedWithinTolerance(
	double tolerance
)

VB

Public Function IsClosedWithinTolerance ( 
	tolerance As Double
) As Boolean

Parameters

 

tolerance
Type: System.Double
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

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Polyline Class
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️