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
Returns
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
arcGeoArc3The arc to cut.
distancedoubleHow far along to cut, measured along the curve and not across the chord.
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.