# Ellipse

Constructs an ellipse. The equation of an ellipse with center at point $\left({c}_{1},{c}_{2}\right)$ with axes parallel to x- and y-axis is $\frac{\left(x-{c}_{1}{\right)}^{2}}{{a}^{2}}+\frac{\left(y-{c}_{2}{\right)}^{2}}{{b}^{2}}=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 $a$, semi-minor axis $b$ and center $C$.

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

Given two reals $a$ and $b$, constructs an ellipse with semi-major axis $a$, semi-minor axis $b$ and center the origin.

Given two reals $a$ and $b$, a point $C$ and a vector $v$, constructs an ellipse in the direction of $v$, with semi-major axis $a$, semi-minor axis $b$ and center $C$.

Given two reals $a$ and $b$, a point $C$ and a real $\omega$, constructs an ellipse in the direction given by the angle $\omega$, with semi-major axis $a$, semi-minor axis $b$ and center $C$.

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