Method ConsecutivePolylines
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
ConsecutivePolylines(IEnumerable<GeoPolyline3>)
Merges runs of consecutive polylines that meet end to start, using the default tolerance.
public static GeoPolyline3[] ConsecutivePolylines(IEnumerable<GeoPolyline3> polylines)
Parameters
polylinesIEnumerable<GeoPolyline3>
Returns
ConsecutivePolylines(IEnumerable<GeoPolyline3>, Tolerance)
Merges runs of consecutive polylines that meet end to start, within a tolerance.
public static GeoPolyline3[] ConsecutivePolylines(IEnumerable<GeoPolyline3> polylines, Tolerance tolerance)
Parameters
polylinesIEnumerable<GeoPolyline3>toleranceTolerance
Returns
- GeoPolyline3[]
One chain per unbroken run. A gap in the sequence starts a new chain rather than raising an error, which is the difference between this and Polylines(IEnumerable<GeoPolyline3>, Tolerance).