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
centerGeoPoint3The centre, in world coordinates.
radiusdoubleThe radius, nought or more.
startAngledoubleThe angle it starts at, in radians from the x axis.
endAngledoubleThe 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
centerGeoPoint3The centre, in world coordinates.
normalGeoVector3The normal of the arc's plane, of any length; written made of unit length.
radiusdoubleThe radius, nought or more.
startAngledoubleThe angle it starts at, in radians from the x axis of the normal's own system.
endAngledoubleThe 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.