Table of Contents

Method TrySplitAt

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

TrySplitAt(GeoArc3, double, out GeoArc3[])

Cuts an arc at a normalized parameter.

public static bool TrySplitAt(GeoArc3 arc, double parameter, out GeoArc3[] pieces)

Parameters

arc GeoArc3
parameter double
pieces GeoArc3[]

Returns

bool

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

Cuts an arc at a normalized parameter, within a tolerance.

public static bool TrySplitAt(GeoArc3 arc, double parameter, out GeoArc3[] pieces, Tolerance tolerance)

Parameters

arc GeoArc3

The arc to cut.

parameter double

Where to cut it, from 0 at its start to 1 at its end.

pieces GeoArc3[]

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

tolerance Tolerance

The tolerance: a cut within it of either end leaves the arc whole.

Returns

bool

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

TrySplitAt(GeoArc3, GeoPoint3, out GeoArc3[])

Cuts an arc at the point of it nearest a point.

public static bool TrySplitAt(GeoArc3 arc, GeoPoint3 point, out GeoArc3[] pieces)

Parameters

arc GeoArc3
point GeoPoint3
pieces GeoArc3[]

Returns

bool

TrySplitAt(GeoArc3, GeoPoint3, out GeoArc3[], Tolerance)

Cuts an arc at the point of it nearest a point, within a tolerance.

public static bool TrySplitAt(GeoArc3 arc, GeoPoint3 point, out GeoArc3[] pieces, Tolerance tolerance)

Parameters

arc GeoArc3

The arc to cut.

point GeoPoint3

Where to cut it; a point off the arc cuts at the point of the arc nearest it.

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.

Remarks

A point off the arc is answered by the place of the arc nearest it, the same way the plane answers, and a point off the plane by what stands under it: only the direction from the centre decides.