Table of Contents

Constructor DxfArc

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

DxfArc()

Initializes an arc of no radius at the origin on the normal (0, 0, 1), both angles nought, as AutoCAD's new Arc(), on layer 0 in no file; give it its radius and angles before it is drawn.

public DxfArc()

DxfArc(GeoPoint3, double, double, double)

Initializes an arc about a centre on the normal (0, 0, 1), as AutoCAD's new Arc(center, radius, startAngle, endAngle), on layer 0 with no look of its own, in no file until it is added to one.

public DxfArc(GeoPoint3 center, double radius, double startAngle, double endAngle)

Parameters

center GeoPoint3

The centre, in world coordinates.

radius double

The radius, nought or more.

startAngle double

The angle it starts at, in radians from the x axis.

endAngle double

The angle it ends at, in radians, counter-clockwise from the start.

Exceptions

ArgumentException

Thrown when a coordinate is not a finite number.

ArgumentOutOfRangeException

Thrown when the radius is below nought, or a number is not finite.

DxfArc(GeoPoint3, GeoVector3, double, double, double)

Initializes an arc about a centre in the plane square to a normal, as AutoCAD's new Arc(center, normal, radius, startAngle, endAngle), on layer 0 with no look of its own, in no file until it is added to one.

public DxfArc(GeoPoint3 center, GeoVector3 normal, double radius, double startAngle, double endAngle)

Parameters

center GeoPoint3

The centre, in world coordinates.

normal GeoVector3

The normal of the arc's plane, of any length; written made of unit length.

radius double

The radius, nought or more.

startAngle double

The angle it starts at, in radians from the x axis of the normal's own system.

endAngle double

The angle it ends at, in radians, counter-clockwise from the start about the normal.

Exceptions

ArgumentException

Thrown when a coordinate is not a finite number, or the normal has no length.

ArgumentOutOfRangeException

Thrown when the radius is below nought, or a number is not finite.