CADability dotNET
Constructs an ellipse in 2D. The major and minor axis must be orthogonal.

Namespace: CADability.Curve2D
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public Ellipse2D(
	GeoPoint2D center,
	GeoVector2D majorAxis,
	GeoVector2D minorAxis,
	bool counterClock,
	GeoPoint2D left,
	GeoPoint2D right,
	GeoPoint2D bottom,
	GeoPoint2D top
)
Visual Basic
Public Sub New ( _
	center As GeoPoint2D, _
	majorAxis As GeoVector2D, _
	minorAxis As GeoVector2D, _
	counterClock As Boolean, _
	left As GeoPoint2D, _
	right As GeoPoint2D, _
	bottom As GeoPoint2D, _
	top As GeoPoint2D _
)
Visual C++
public:
Ellipse2D(
	GeoPoint2D center, 
	GeoVector2D majorAxis, 
	GeoVector2D minorAxis, 
	bool counterClock, 
	GeoPoint2D left, 
	GeoPoint2D right, 
	GeoPoint2D bottom, 
	GeoPoint2D top
)

Parameters

center
Type: CADability..::..GeoPoint2D
Center of the ellipse
majorAxis
Type: CADability..::..GeoVector2D
Major axis of the ellipse
minorAxis
Type: CADability..::..GeoVector2D
Minor axis of the ellipse
counterClock
Type: System..::..Boolean
left
Type: CADability..::..GeoPoint2D
left extremum of the ellipse
right
Type: CADability..::..GeoPoint2D
right extremum of the ellipse
bottom
Type: CADability..::..GeoPoint2D
bottom extremum of the ellipse
top
Type: CADability..::..GeoPoint2D
top extremum of the ellipse

See Also