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
Both tests have to pass: the plane of the arc has to be the plane of the frame, and its centre has to lie on that plane. A circle of the right tilt sitting above the frame would pass the first test alone.