Method Polylines
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
Polylines(IEnumerable<GeoPolyline3>)
Concatenates polylines that meet end to start into a single chain, using the default tolerance.
public static GeoPolyline3 Polylines(IEnumerable<GeoPolyline3> polylines)
Parameters
polylinesIEnumerable<GeoPolyline3>
Returns
Polylines(IEnumerable<GeoPolyline3>, Tolerance)
Concatenates polylines that meet end to start into a single chain, within a tolerance.
public static GeoPolyline3 Polylines(IEnumerable<GeoPolyline3> polylines, Tolerance tolerance)
Parameters
polylinesIEnumerable<GeoPolyline3>The chains, in order.
toleranceToleranceThe tolerance deciding contact.
Returns
- GeoPolyline3
One chain covering all of them.
Remarks
This is the strict form: it will not reorder or reverse anything, and a gap is an error rather
than something to bridge. Use Join when the pieces arrive in no particular order.
Exceptions
- ArgumentException
Thrown when the sequence is empty, or when a chain does not start where the previous one ended.