Table of Contents

Method TrySplitAtDistance

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

TrySplitAtDistance(double, out GeoLine2, out GeoLine2)

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

public bool TrySplitAtDistance(double distance, out GeoLine2 first, out GeoLine2 second)

Parameters

distance double

Arc length from the start point.

first GeoLine2

The piece holding the start point.

second GeoLine2

The piece holding the end point.

Returns

bool

true if the segment was split; otherwise, false.

TrySplitAtDistance(double, out GeoLine2, out GeoLine2, Tolerance)

Splits this segment at an arc length measured from its start point, within tolerance.

public bool TrySplitAtDistance(double distance, out GeoLine2 first, out GeoLine2 second, Tolerance tolerance)

Parameters

distance double

Arc length from the start point.

first GeoLine2

The piece holding the start point.

second GeoLine2

The piece holding the end point.

tolerance Tolerance

The tolerance.

Returns

bool

true if the segment was split; otherwise, false.