Method TryToEdge2
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
TryToEdge2(GeoCoordinateSystem3, GeoEdge3, out GeoEdge2)
Lays an edge out in a frame when it lies in the plane of that frame.
public static bool TryToEdge2(GeoCoordinateSystem3 frame, GeoEdge3 edge, out GeoEdge2 result)
Parameters
frameGeoCoordinateSystem3edgeGeoEdge3resultGeoEdge2
Returns
TryToEdge2(GeoCoordinateSystem3, GeoEdge3, out GeoEdge2, Tolerance)
Lays an edge out in a frame when it lies in the plane of that frame, within a tolerance.
public static bool TryToEdge2(GeoCoordinateSystem3 frame, GeoEdge3 edge, out GeoEdge2 result, Tolerance tolerance)
Parameters
frameGeoCoordinateSystem3The frame.
edgeGeoEdge3The edge in space.
resultGeoEdge2The edge in the plane, when it lies in one.
toleranceToleranceThe tolerance.
Returns
- bool
true if no point of the edge stands further off the plane than the planar tolerance; otherwise, false.
Remarks
An arc bulging about the Z axis the other way round is the same arc seen from behind, so its bulge changes sign coming down. That keeps the round trip exact whichever way the frame was built. An arc that barely bows lies in the plane however its own is turned, and comes down with its bulge as it is, within its stand-off of its shadow.