Method ToArc
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
ToArc()
Gets the edge as an arc in space.
public GeoArc3 ToArc()
Returns
Remarks
The bulge is read in the plane the normal names: the chord is laid along the X axis of a frame standing on the start point, the arc is built there exactly as it would be in the plane, and its circle is lifted back. So a curve in space and the same curve laid flat come out with the same radius and the same swept angle, and an edge 0.01 long bowing a thousandth of its chord off it is as much an arc as a half circle. The arc runs counter-clockwise round its own normal, which points against the edge's where the bulge is negative. An edge that bows so little it is read as its chord (see IsArc) still gives the arc its bulge describes, to a caller who asks for that arc; the edge's own members, and every query, read it as the segment.
Exceptions
- InvalidOperationException
Thrown when the edge is straight, its bulge nought, so there is no arc to give.