Table of Contents

Method SplitAtDistances

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

SplitAtDistances(IEnumerable<double>)

Splits this segment at several arc lengths measured from its start point, using the default tolerance.

public GeoLine2[] SplitAtDistances(IEnumerable<double> distances)

Parameters

distances IEnumerable<double>

Arc lengths from the start point, in any order.

Returns

GeoLine2[]

The pieces in order along this segment.

SplitAtDistances(IEnumerable<double>, Tolerance)

Splits this segment at several arc lengths measured from its start point, within tolerance.

public GeoLine2[] SplitAtDistances(IEnumerable<double> distances, Tolerance tolerance)

Parameters

distances IEnumerable<double>

Arc lengths from the start point, in any order.

tolerance Tolerance

The tolerance.

Returns

GeoLine2[]

The pieces in order along this segment.