Method ToGeoArc2
- Namespace
- GeometryHelper.CadConvert
- Assembly
- GeometryHelper.CadConvert.dll
ToGeoArc2(Arc)
Converts an AutoCAD Arc to a GeometryHelper 2D arc, as it is seen in plan.
public static GeoArc2 ToGeoArc2(this Arc arc)
Parameters
arcArcThe AutoCAD Arc to convert.
Returns
Remarks
The arc has to lie in a plane parallel to XY, because a tilted one is an ellipse in plan and this gives an arc rather than an approximation of one. ToGeoArc3(Arc) reads any arc.
Exceptions
- ArgumentNullException
Thrown when
arcis null.- ArgumentException
Thrown when the arc is tilted out of the XY plane, or sweeps a whole turn.
ToGeoArc2(IEnumerable<Arc>)
Converts a sequence of AutoCAD Arcs to a list of GeometryHelper 2D arcs.
public static List<GeoArc2> ToGeoArc2(this IEnumerable<Arc> arcs)
Parameters
arcsIEnumerable<Arc>The sequence of AutoCAD Arcs to convert.