Updraft
1.0
Open source glider flight visualisation tool.
|
Arc spcified by center point radius, start angle and end angle. More...
#include <geometry.h>
Public Member Functions | |
ArcI () | |
Default constructor. | |
ArcI (const Position &C_, const double &R_, const bool CW_, const double &S_, const double &E_, const double &Z_) | |
The arc constructor. | |
const Position & | Centre () const |
const double & | Start () const |
const double & | End () const |
const bool | CW () const |
const double | R () const |
const GType | GetGType () const |
~ArcI () | |
Destructor. | |
Private Attributes | |
Position * | centre |
Centre of the arc. | |
double | r |
Radius in nm. | |
bool | cw |
Arc direction. | |
double | start |
Start angle in deg. | |
double | end |
End angle in deg. | |
double | zoom |
Zoom level the element is visible. | |
bool | valid |
Validity flag. |
Arc spcified by center point radius, start angle and end angle.
Default constructor.
OpenAirspace::ArcI::ArcI | ( | const Position & | C_, |
const double & | R_, | ||
const bool | CW_, | ||
const double & | S_, | ||
const double & | E_, | ||
const double & | Z_ | ||
) |
The arc constructor.
Creates the arc element.
C_ | The centre of the element. |
R_ | The radius of the arc. |
CW_ | The clockwise flag. |
S_ | The starting angle of the arc. |
E_ | The ending angle of the arc. |
Z_ | The zoom level the element is visible. |
Destructor.
const Position& OpenAirspace::ArcI::Centre | ( | ) | const [inline, virtual] |
Implements OpenAirspace::Geometry.
const bool OpenAirspace::ArcI::CW | ( | ) | const [inline] |
const double& OpenAirspace::ArcI::End | ( | ) | const [inline] |
const GType OpenAirspace::ArcI::GetGType | ( | ) | const [inline, virtual] |
Implements OpenAirspace::Geometry.
const double OpenAirspace::ArcI::R | ( | ) | const [inline] |
const double& OpenAirspace::ArcI::Start | ( | ) | const [inline] |
Position* OpenAirspace::ArcI::centre [private] |
Centre of the arc.
bool OpenAirspace::ArcI::cw [private] |
Arc direction.
double OpenAirspace::ArcI::end [private] |
End angle in deg.
double OpenAirspace::ArcI::r [private] |
Radius in nm.
double OpenAirspace::ArcI::start [private] |
Start angle in deg.
bool OpenAirspace::ArcI::valid [private] |
Validity flag.
double OpenAirspace::ArcI::zoom [private] |
Zoom level the element is visible.