Engauge Digitizer 2
|
Parameters that define an ellipse about the specified center, at the specified angle from alignment with the axes. More...
#include <EllipseParameters.h>
Public Member Functions | |
EllipseParameters () | |
Constructor when this class is expected to be never used. | |
EllipseParameters (const QPointF &posCenter, double angleRadians, double a, double b) | |
Standard constructor. | |
EllipseParameters & | operator= (const EllipseParameters &other) |
Assignment constructor. | |
EllipseParameters (const EllipseParameters &other) | |
Copy constructor. | |
virtual | ~EllipseParameters () |
double | a () const |
Get method for a. | |
double | angleRadians () const |
Get method for angle in radians. | |
double | b () const |
Get method for b. | |
QPointF | posCenter () const |
Get method for center. | |
Parameters that define an ellipse about the specified center, at the specified angle from alignment with the axes.
Neglecting the rotation for simplicity, the ellipse is defined as (x - xCenter)^2 / a^2 + (y - yCenter)^2 / b^2 = 1
Definition at line 15 of file EllipseParameters.h.
EllipseParameters::EllipseParameters | ( | ) |
Constructor when this class is expected to be never used.
Definition at line 9 of file EllipseParameters.cpp.
EllipseParameters::EllipseParameters | ( | const QPointF & | posCenter, |
double | angleRadians, | ||
double | a, | ||
double | b ) |
Standard constructor.
Definition at line 17 of file EllipseParameters.cpp.
EllipseParameters::EllipseParameters | ( | const EllipseParameters & | other | ) |
|
virtual |
Definition at line 45 of file EllipseParameters.cpp.
double EllipseParameters::a | ( | ) | const |
double EllipseParameters::angleRadians | ( | ) | const |
Get method for angle in radians.
Definition at line 54 of file EllipseParameters.cpp.
double EllipseParameters::b | ( | ) | const |
EllipseParameters & EllipseParameters::operator= | ( | const EllipseParameters & | other | ) |
QPointF EllipseParameters::posCenter | ( | ) | const |
Get method for center.
Definition at line 64 of file EllipseParameters.cpp.