EllipseParametricEquation

References
Represents the parametric equation of an ellipse.

Constructors

EllipseParametricEquation

#
public EllipseParametricEquation(float x, float y, float angle, float radiusX, float radiusY)
Construct a new rotated ellipse equation.
x (float)X coordinate of ellipse centre.
y (float)Y coordinate of ellipse centre.
angle (float)Angle of ellipse.
radiusX (float)Radius along the world x-axis.
radiusY (float)Radius along the world y-axis.

EllipseParametricEquation

#
public EllipseParametricEquation(float x, float y, float radiusX, float radiusY)
Construct a new axis-aligned ellipse equation.
x (float)X coordinate of ellipse centre.
y (float)Y coordinate of ellipse centre.
radiusX (float)Radius along the world x-axis.
radiusY (float)Radius along the world y-axis.

Methods

Evaluate

#
public PointF Evaluate(float t)
Evaluate the ellipse at the given parameter. Note that the parameter t only represents the angle if the ellipse is circular.
t (float)Ellipse parameter.
Point at parameter.