Table of Contents

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

frame GeoCoordinateSystem3
edge GeoEdge3
result GeoEdge2

Returns

bool

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

frame GeoCoordinateSystem3

The frame.

edge GeoEdge3

The edge in space.

result GeoEdge2

The edge in the plane, when it lies in one.

tolerance Tolerance

The tolerance.

Returns

bool

true if both ends lie on the plane and any bulge is read about its Z axis; 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.