Constructor DxfCircle
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
DxfCircle()
Initializes a circle of no radius at the origin on the normal (0, 0, 1), as AutoCAD's new Circle(), on layer 0
in no file; give it its radius before it is drawn.
public DxfCircle()
DxfCircle(GeoPoint3, GeoVector3, double)
Initializes a circle about a centre in the plane square to a normal, as AutoCAD's new Circle(center, normal,
radius), on layer 0 with no look of its own, in no file until it is added to one.
public DxfCircle(GeoPoint3 center, GeoVector3 normal, double radius)
Parameters
centerGeoPoint3The centre, in world coordinates.
normalGeoVector3The normal of the circle's plane, of any length; written made of unit length.
radiusdoubleThe radius, nought or more.
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 not a finite number.