Updraft
1.0
Open source glider flight visualisation tool.
|
Full circle class. More...
#include <geometry.h>
Public Member Functions | |
Circle () | |
default contructor | |
Circle (const Position &C_, const double R_, const double &Z_) | |
The circle constructr construct a circle from the params. | |
const Position & | Centre () const |
const double & | R () const |
const GType | GetGType () const |
~Circle () | |
Destructor. | |
Private Attributes | |
Position * | centre |
The centre of the circle. | |
double | r |
The radius of the circle. | |
double | zoom |
The zoom the element is visible. | |
bool | valid |
Validity flag. |
Full circle class.
default contructor
OpenAirspace::Circle::Circle | ( | const Position & | C_, |
const double | R_, | ||
const double & | Z_ | ||
) |
The circle constructr construct a circle from the params.
C_ | The centre of the corcle. |
R_ | The radius of the circle. |
Z_ | The zoom the element is visible. |
Destructor.
const Position& OpenAirspace::Circle::Centre | ( | ) | const [inline, virtual] |
Implements OpenAirspace::Geometry.
const GType OpenAirspace::Circle::GetGType | ( | ) | const [inline, virtual] |
Implements OpenAirspace::Geometry.
const double& OpenAirspace::Circle::R | ( | ) | const [inline] |
Position* OpenAirspace::Circle::centre [private] |
The centre of the circle.
double OpenAirspace::Circle::r [private] |
The radius of the circle.
bool OpenAirspace::Circle::valid [private] |
Validity flag.
double OpenAirspace::Circle::zoom [private] |
The zoom the element is visible.