Table of Contents

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

arc Arc

The AutoCAD Arc to convert.

Returns

GeoArc3

The converted GeoArc3, running the way the arc is drawn.

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 arc is 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

arcs IEnumerable<Arc>

The sequence of AutoCAD Arcs to convert.

Returns

List<GeoArc3>

A list of converted GeoArc3.