Table of Contents

Method TrySplitAtDistance

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

TrySplitAtDistance(GeoArc3, double, out GeoArc3[])

Cuts an arc at an arc length measured from its start.

public static bool TrySplitAtDistance(GeoArc3 arc, double distance, out GeoArc3[] pieces)

Parameters

arc GeoArc3
distance double
pieces GeoArc3[]

Returns

bool

TrySplitAtDistance(GeoArc3, double, out GeoArc3[], Tolerance)

Cuts an arc at an arc length measured from its start, within a tolerance.

public static bool TrySplitAtDistance(GeoArc3 arc, double distance, out GeoArc3[] pieces, Tolerance tolerance)

Parameters

arc GeoArc3

The arc to cut.

distance double

How far along to cut, measured along the curve and not across the chord.

pieces GeoArc3[]

The pieces in order along the arc, or the arc whole when the method returns false.

tolerance Tolerance

The tolerance.

Returns

bool

true when the arc was cut in two; otherwise, false.