Skip to content

M_Rhino_Geometry_Curve_IsClosable

Will Pearson edited this page Aug 12, 2016 · 2 revisions

Curve.IsClosable Method (Double)

Decide if it makes sense to close off this curve by moving the endpoint to the start based on start-end gap size and length of curve as approximated by chord defined by 6 points.

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

Syntax

C#

public bool IsClosable(
	double tolerance
)

VB

Public Function IsClosable ( 
	tolerance As Double
) As Boolean

Parameters

 

tolerance
Type: System.Double
Maximum allowable distance between start and end. If start - end gap is greater than tolerance, this function will return false.

Return Value

Type: Boolean
true if start and end points are close enough based on above conditions.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Curve Class
IsClosable Overload
Rhino.Geometry Namespace

Clone this wiki locally