UtilityEx.SortAndOrient (IList<ICurve>, Boolean, Boolean, Double) Method
Chains curves using the minimum distance between individual curve ends keeping the first curve first.
Public Shared Sub SortAndOrient( _
ByVal curveList As IList(Of ICurve), _
ByVal reverseVertices As Boolean, _
ByVal assumeClosed As Boolean, _
Optional ByVal closureTol As Double = 0 _
)
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
curveList
-
IList<ICurve>
The list of curves
-
reverseVertices
-
bool
If vertices are present and the curve needs to be reversed the vertices array is reversed as well
-
assumeClosed
-
bool
In case you already know that the contour is/has to be closed.
-
closureTol
-
double
Use zero if you know that the contour is/has to be closed
.NET Framework
Supported in: 4.8