Table of Contents

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

distances IEnumerable<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

distances IEnumerable<double>

Arc lengths from the first vertex, in any order.

tolerance Tolerance

The tolerance.

Returns

GeoPolyline2[]

The pieces in order along this polyline.