Sorts the curves into joinable segment groups. No joining is performed, the curves are only analyzed for start/end proximity.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic static bool SortCurves(
ICollection<Curve> inputCurves,
double tolerance,
out IList<IList<CurveSortedSegment>> groups
)
Public Shared Function SortCurves (
inputCurves As ICollection(Of Curve),
tolerance As Double,
<OutAttribute> ByRef groups As IList(Of IList(Of CurveSortedSegment))
) As Boolean
Parameters
- inputCurves
- Type: System.Collections.GenericICollectionCurve
The curves to sort - tolerance
- Type: SystemDouble
The tolerance to bridge any gaps between curves - groups
- Type: System.Collections.GenericIListIListCurveSortedSegment
The groups of curves that can be formed upon joining.
A curve that cannot be joined to any other curve forms a group of size 1. No joining is performed.
Return Value
Type:
Boolean[Missing <returns> documentation for "M:Rhino.Geometry.Curve.SortCurves(System.Collections.Generic.ICollection{Rhino.Geometry.Curve},System.Double,System.Collections.Generic.IList{System.Collections.Generic.IList{Rhino.Geometry.Curve.SortedSegment}}@)"]
See Also