Table of Contents

Method TrySplitAt

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

TrySplitAt(double, out GeoArc3[])

Cuts the arc at a normalized parameter, where 0 is its start and 1 its end.

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

Parameters

parameter double
pieces GeoArc3[]

Returns

bool

Remarks

The centre, the radius and the plane all stay; only the sweep is shared out, so the pieces put back end to end draw exactly what went in.

TrySplitAt(double, out GeoArc3[], Tolerance)

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

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

Parameters

parameter double
pieces GeoArc3[]
tolerance Tolerance

Returns

bool

TrySplitAt(GeoPoint3, out GeoArc3[])

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

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

Parameters

point GeoPoint3
pieces GeoArc3[]

Returns

bool

TrySplitAt(GeoPoint3, out GeoArc3[], Tolerance)

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

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

Parameters

point GeoPoint3
pieces GeoArc3[]
tolerance Tolerance

Returns

bool

Remarks

A point on the arc, within the tolerance of it, cuts it where its distance is measured to, found at no tolerance, so a point on a small arc near its centre cuts the arc where the arc is nearest it: at a tolerance of a thousandth, the half circle of radius 0.001 about the origin in the plan, from (0.001, 0, 0) through (0, 0.001, 0) to (-0.001, 0, 0), is cut by (0, 0.0007, 0) at (0, 0.001, 0). A point off the arc whose foot falls within the tolerance of the centre is read as at the centre, which has no direction, and leaves the arc whole: the half circle of radius 50 from (50, 0, 0) through (0, 50, 0) to (-50, 0, 0) is not cut by (0.0005, 0.0003, 0).