Skip to main content

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 aa, semi-minor axis bb and center CC.

calc.ellipse1.calc.png
calc.ellipse1.plotter0.calc.png

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

calc.ellipse2.calc.png

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

calc.ellipse3.calc.png

Given two reals aa and bb, a point CC and a vector vv, constructs an ellipse in the direction of vv, with semi-major axis aa, semi-minor axis bb and center CC.

calc.ellipse4.calc.png

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

calc.ellipse5.calc.png

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

calc.ellipse6.calc.png