EllipseImplicitEquation

References
Represents the implicit equation of an ellipse.

Constructors

EllipseImplicitEquation

#
public EllipseImplicitEquation(float x, float y, float angle, float radiusX, float radiusY)
Construct a new rotated ellipse equation.
x (float)Centre x.
y (float)Centre y.
angle (float)Angle of main axis.
radiusX (float)Radius along the world x-axis.
radiusY (float)Radius along the world y-axis.

EllipseImplicitEquation

#
public EllipseImplicitEquation(float x, float y, float radiusX, float radiusY)
Construct a new axis-aligned ellipse equation.
x (float)Centre x.
y (float)Centre y.
radiusX (float)Radius along the world x-axis.
radiusY (float)Radius along the world y-axis.

Methods

Evaluate

#
public float Evaluate(float x, float y)
Evaluate a coordinate pair. Zero scalar reside on the ellipse, negative values are inside the ellipse. The centre of the ellipse is associated with the most negative value of -(radiusx * radiusy).
x (float)X coordinate.
y (float)Y coordinate.
Scalar according to circle equation.

ToString

#
public override string ToString()
Returns the fully qualified type name of this instance.
A String containing a fully qualified type name.