Table of Contents

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

frame GeoCoordinateSystem3
arc GeoArc3
result GeoArc2

Returns

bool

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

frame GeoCoordinateSystem3

The frame.

arc GeoArc3

The arc in space.

result GeoArc2

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

tolerance Tolerance

The 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.