Class ArcConvert
- Namespace
- GeometryHelper.CadConvert
- Assembly
- GeometryHelper.CadConvert.dll
Converts arcs and circles between AutoCAD and GeometryHelper.
public static class ArcConvert
- Inheritance
-
ArcConvert
- Inherited Members
Remarks
An AutoCAD arc is held in the plane its normal defines and always sweeps counter-clockwise about that normal, so which way round it goes is carried by the normal rather than by the angles. The conversions here read it through its own start, middle and end points, which are in world coordinates whatever the normal is, so an arc drawn on a flipped plane comes back the way it looks.
Methods
- ToAcadArc(GeoArc2)
Converts a GeometryHelper 2D arc to an AutoCAD Arc in the XY plane.
- ToAcadArc(GeoArc3)
Converts a GeometryHelper 3D arc to an AutoCAD Arc in its own plane.
- ToAcadArc(IEnumerable<GeoArc2>)
Converts a sequence of GeometryHelper 2D arcs to a list of AutoCAD Arcs.
- ToAcadArc(IEnumerable<GeoArc3>)
Converts a sequence of GeometryHelper 3D arcs to a list of AutoCAD Arcs.
- ToAcadCircle(GeoCircle2)
Converts a GeometryHelper 2D circle to an AutoCAD Circle in the XY plane.
- ToAcadCircle(GeoCircle3)
Converts a GeometryHelper 3D circle to an AutoCAD Circle in its own plane.
- ToAcadCircle(IEnumerable<GeoCircle2>)
Converts a sequence of GeometryHelper 2D circles to a list of AutoCAD Circles.
- ToAcadCircle(IEnumerable<GeoCircle3>)
Converts a sequence of GeometryHelper 3D circles to a list of AutoCAD Circles.
- ToGeoArc2(Arc)
Converts an AutoCAD Arc to a GeometryHelper 2D arc, as it is seen in plan.
- ToGeoArc2(IEnumerable<Arc>)
Converts a sequence of AutoCAD Arcs to a list of GeometryHelper 2D arcs.
- ToGeoArc3(Arc)
Converts an AutoCAD Arc to a GeometryHelper 3D arc, whatever plane it lies in.
- ToGeoArc3(IEnumerable<Arc>)
Converts a sequence of AutoCAD Arcs to a list of GeometryHelper 3D arcs.
- ToGeoCircle3(Circle)
Converts an AutoCAD Circle to a GeometryHelper 3D circle, keeping the plane it lies in.
- ToGeoCircle3(IEnumerable<Circle>)
Converts a sequence of AutoCAD Circles to a list of GeometryHelper 3D circles.
- TryToGeoArc2(Arc, out GeoArc2)
Tries to convert an AutoCAD Arc to a GeometryHelper 2D arc.