Updraft
1.0
Open source glider flight visualisation tool.
|
Arc spcified by center point, start point and end point. More...
#include <geometry.h>
Public Member Functions | |
ArcII () | |
Default constructor. | |
ArcII (const Position &C_, const Position &S_, const Position E_, const bool CW_, const double &Z_) | |
The arc constructor. | |
const Position & | Centre () const |
const Position & | Start () const |
const Position & | End () const |
const bool | CW () const |
const GType | GetGType () const |
~ArcII () | |
The class destructor. | |
Private Attributes | |
Position * | centre |
Centre of the arc. | |
Position * | start |
Startig point of the arc. | |
Position * | end |
Ending point of the arc. | |
bool | cw |
Clockwise flag. | |
double | zoom |
Zoom level the element is visible. | |
bool | valid |
Validity flag. |
Arc spcified by center point, start point and end point.
Default constructor.
OpenAirspace::ArcII::ArcII | ( | const Position & | C_, |
const Position & | S_, | ||
const Position | E_, | ||
const bool | CW_, | ||
const double & | Z_ | ||
) |
The arc constructor.
Creates the arc element.
C_ | The centre of the element. |
S_ | The starting point of the arc. |
E_ | The end point of the arc. |
CW_ | The clackwise flag (drawing direction). |
Z_ | The zoom level the element is visible. |
The class destructor.
const Position& OpenAirspace::ArcII::Centre | ( | ) | const [inline, virtual] |
Implements OpenAirspace::Geometry.
const bool OpenAirspace::ArcII::CW | ( | ) | const [inline] |
const Position& OpenAirspace::ArcII::End | ( | ) | const [inline] |
const GType OpenAirspace::ArcII::GetGType | ( | ) | const [inline, virtual] |
Implements OpenAirspace::Geometry.
const Position& OpenAirspace::ArcII::Start | ( | ) | const [inline] |
Position* OpenAirspace::ArcII::centre [private] |
Centre of the arc.
bool OpenAirspace::ArcII::cw [private] |
Clockwise flag.
Position* OpenAirspace::ArcII::end [private] |
Ending point of the arc.
Position* OpenAirspace::ArcII::start [private] |
Startig point of the arc.
bool OpenAirspace::ArcII::valid [private] |
Validity flag.
double OpenAirspace::ArcII::zoom [private] |
Zoom level the element is visible.