Method TryToArc2
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
TryToArc2(GeoCoordinateSystem3, GeoArc3, out GeoArc2)
Lays an arc out in a frame when it lies in the plane of that frame.
public static bool TryToArc2(GeoCoordinateSystem3 frame, GeoArc3 arc, out GeoArc2 result)
Parameters
frameGeoCoordinateSystem3arcGeoArc3resultGeoArc2
Returns
TryToArc2(GeoCoordinateSystem3, GeoArc3, out GeoArc2, Tolerance)
Lays an arc out in a frame when it lies in the plane of that frame, within a tolerance.
public static bool TryToArc2(GeoCoordinateSystem3 frame, GeoArc3 arc, out GeoArc2 result, Tolerance tolerance)
Parameters
frameGeoCoordinateSystem3The frame.
arcGeoArc3The arc in space.
resultGeoArc2The arc in the plane, when it lies in one.
toleranceToleranceThe tolerance.
Returns
- bool
true if the arc lies in the plane of the frame; otherwise, false.
Remarks
The arc lies in the plane when no point of it stands further off it than the planar tolerance, which a circle of the right tilt sitting above the frame does not. Its centre may lie far off the plane: an arc 100 long bowing a ten-thousandth has its centre 250 000 away, and turned a tenth of a degree out it still lies within a ten-thousandth of the frame.