Method ToGeoArc2
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
ToGeoArc2()
Gets the arc in the plane, as DxfReader reads it with PlanAs2D within the default tolerance: the arc of radius 10 about (0, 0, 0) from 0 to 90 degrees is the counter-clockwise GeoArc2 from (10, 0) to (0, 10); on the normal (0, 0, -1) it is the clockwise one from (-10, 0) to (0, 10), from pi to pi / 2, starting where the arc in space starts. One at a height, or on a tilted normal, does not lie on the floor, and is refused.
public GeoArc2 ToGeoArc2()
Returns
- GeoArc2
The arc in the plane.
Exceptions
- InvalidOperationException
Thrown when the arc does not lie on the floor, has no radius within the default point tolerance, a number of its record is not finite, or it is erased.
ToGeoArc2(Tolerance)
Gets the arc in the plane, as ToGeoArc2() does, within a tolerance, which says whether it has a radius.
public GeoArc2 ToGeoArc2(Tolerance tolerance)
Parameters
Returns
- GeoArc2
The arc in the plane.
Exceptions
- InvalidOperationException
Thrown when the arc does not lie on the floor, has no radius within the point tolerance, a number of its record is not finite, or it is erased.