Method SplitAtDistances
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
SplitAtDistances(IEnumerable<double>)
Splits this polyline at several arc lengths measured from its first vertex, using the default tolerance.
public GeoPolyline2[] SplitAtDistances(IEnumerable<double> distances)
Parameters
distancesIEnumerable<double>Arc lengths from the first vertex, in any order.
Returns
- GeoPolyline2[]
The pieces in order along this polyline.
SplitAtDistances(IEnumerable<double>, Tolerance)
Splits this polyline at several arc lengths measured from its first vertex, within tolerance.
public GeoPolyline2[] SplitAtDistances(IEnumerable<double> distances, Tolerance tolerance)
Parameters
distancesIEnumerable<double>Arc lengths from the first vertex, in any order.
toleranceToleranceThe tolerance.
Returns
- GeoPolyline2[]
The pieces in order along this polyline.