|
Updraft
1.0
Open source glider flight visualisation tool.
|
Polygon class describes one polygon. More...
#include <geometry.h>


Public Member Functions | |
| Polygon () | |
| Default constructor. | |
| Polygon (const Position &C_, const double &z_) | |
| Constructor. | |
| const Position & | Centre () const |
| const GType | GetGType () const |
| ~Polygon () | |
| Destructor. | |
Private Attributes | |
| Position * | centre |
| Centre of the polygon. | |
| double | zoom |
| Zoom level the element is visible. | |
| bool | valid |
| Validity flag. | |
Polygon class describes one polygon.
Default constructor.
| OpenAirspace::Polygon::Polygon | ( | const Position & | C_, |
| const double & | z_ | ||
| ) |
Constructor.
| C_ | The position to be copied. |
| z_ | The zoom level the element is visible. |
Destructor.
| const Position& OpenAirspace::Polygon::Centre | ( | ) | const [inline, virtual] |
Implements OpenAirspace::Geometry.
| const GType OpenAirspace::Polygon::GetGType | ( | ) | const [inline, virtual] |
Implements OpenAirspace::Geometry.
Position* OpenAirspace::Polygon::centre [private] |
Centre of the polygon.
bool OpenAirspace::Polygon::valid [private] |
Validity flag.
double OpenAirspace::Polygon::zoom [private] |
Zoom level the element is visible.