Method ToGeoArc3
- Namespace
- GeometryHelper.CadConvert
- Assembly
- GeometryHelper.CadConvert.dll
ToGeoArc3(Arc)
Converts an AutoCAD Arc to a GeometryHelper 3D arc, whatever plane it lies in.
public static GeoArc3 ToGeoArc3(this Arc arc)
Parameters
arcArcThe AutoCAD Arc to convert.
Returns
Remarks
The arc is read through its points at a tolerance of nought, as AutoCAD drew it: the arc of radius 1 000 sweeping 0.002 radians, whose middle lies 0.0005 off its chord of 2, is kept.
Exceptions
- ArgumentNullException
Thrown when
arcis null.- ArgumentException
Thrown when the arc sweeps nothing or a whole turn.
ToGeoArc3(IEnumerable<Arc>)
Converts a sequence of AutoCAD Arcs to a list of GeometryHelper 3D arcs.
public static List<GeoArc3> ToGeoArc3(this IEnumerable<Arc> arcs)
Parameters
arcsIEnumerable<Arc>The sequence of AutoCAD Arcs to convert.