Ellipse

Constructs an ellipse. The equation of an ellipse with center at point (c1,c2) with axes parallel to x- and y-axis is (x-c1)2a2+(y-c2)2b2=1

Syntax

ellipse(Real, Real, Point)
ellipse(Real, Real, Vector)
ellipse(Real, Real)
ellipse(Real, Real, Point, Vector)
ellipse(Real, Real, Point, Real)
ellipse(Real, Real, Real)

Description

Given two reals a and b and a point C, constructs an ellipse with semi-major axis aLaTeXa, semi-minor axis bLaTeXb and center CLaTeXC.

calc.ellipse1.calc.png

Given two reals aLaTeXa and bLaTeXb and a vector v, constructs an ellipse in the direction of vLaTeXv, with semi-major axis aLaTeXa, semi-minor axis bLaTeXb and center the origin.

calc.ellipse2.calc.png

Given two reals aLaTeXa and bLaTeXb, constructs an ellipse with semi-major axis aLaTeXa, semi-minor axis bLaTeXb and center the origin.

calc.ellipse3.calc.png

Given two reals aLaTeXa and bLaTeXb, a point CLaTeXC and a vector vLaTeXv, constructs an ellipse in the direction of vLaTeXv, with semi-major axis aLaTeXa, semi-minor axis bLaTeXb and center CLaTeXC.

calc.ellipse4.calc.png

Given two reals aLaTeXa and bLaTeXb, a point CLaTeXC and a real ω, constructs an ellipse in the direction given by the angle ωLaTeX\omega, with semi-major axis aLaTeXa, semi-minor axis bLaTeXb and center CLaTeXC.

calc.ellipse5.calc.png

Given three reals aLaTeXa, bLaTeXb and ωLaTeX\omega, constructs an ellipse in the direction given by the angle ωLaTeX\omega, with semi-major axis aLaTeXa, semi-minor axis bLaTeXb and center the origin.

calc.ellipse6.calc.png