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
Returns
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
arcGeoArc3The arc to cut.
parameterdoubleWhere to cut it, from 0 at its start to 1 at its end.
piecesGeoArc3[]The pieces in order along the arc, or the arc whole when the method returns false.
toleranceToleranceThe 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
Returns
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
arcGeoArc3The arc to cut.
pointGeoPoint3Where to cut it; a point off the arc cuts at the point of the arc nearest it.
piecesGeoArc3[]The pieces in order along the arc, or the arc whole when the method returns false.
toleranceToleranceThe 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.