|
| | Ellipse () |
| | Default constructor — creates a degenerate ellipse at the origin.
|
| |
| | Ellipse (const Point ¢er, double semiAxisA, double semiAxisB) |
| | Construct an ellipse from a centre point and semi-axis lengths.
|
| |
| Point | center () const |
| | Return the centre of the ellipse.
|
| |
| void | setCenter (const Point &value) |
| | Set the centre of the ellipse.
|
| |
| double | semiAxisA () const |
| | Return the horizontal semi-axis length.
|
| |
| void | setSemiAxisA (double value) |
| | Set the horizontal semi-axis length.
|
| |
| double | semiAxisB () const |
| | Return the vertical semi-axis length.
|
| |
| void | setSemiAxisB (double value) |
| | Set the vertical semi-axis length.
|
| |
| double | radiusAtAngle (double angle) const |
| | radiusAtAngle
|
| |
| QString | toString () const |
| | Format the ellipse as a human-readable string.
|
| |
A 2D ellipse defined by a centre point and two semi-axis lengths.
Represents an axis-aligned 2D ellipse with semi-axes A (horizontal) and B (vertical).
Definition at line 11 of file ellipse.h.