Enroute Flight Navigation
A navigation app for VFR pilots
|
A very simple class that describes an airspace. More...
#include <Airspace.h>
Public Member Functions | |
Airspace ()=default | |
Constructs an invalid airspace. | |
Airspace (const QJsonObject &geoJSONObject) | |
Constructs an airspace from a GeoJSON object. | |
auto | estimatedLowerBoundMSL () const -> Units::Distance |
Estimates the lower limit of the airspace above MSL. | |
auto | isValid () const -> bool |
Getter function for property with the same name. | |
auto | lowerBound () const -> QString |
Getter function for property with the same name. | |
auto | lowerBoundMetric () const -> QString |
Getter function for property with the same name. | |
auto | name () const -> QString |
Getter function for property with the same name. | |
auto | polygon () const -> QGeoPolygon |
Getter function for property with the same name. | |
auto | CAT () const -> QString |
Getter function for property with the same name. | |
auto | upperBound () const -> QString |
Getter function for property with the same name. | |
auto | upperBoundMetric () const -> QString |
Getter function for property with the same name. | |
Properties | |
bool | isValid |
Validity. | |
QString | lowerBound |
Lower limit of the airspace. | |
QString | lowerBoundMetric |
Lower limit of the airspace. | |
QGeoPolygon | polygon |
QGeoPolygon that describes the lateral limits of the airspace. | |
QString | upperBound |
Upper limit of the airspace. | |
QString | upperBoundMetric |
Upper limit of the airspace. | |
Friends | |
auto | operator== (const GeoMaps::Airspace &, const GeoMaps::Airspace &) -> bool |
Comparison. | |
A very simple class that describes an airspace.
Definition at line 32 of file Airspace.h.
|
explicit |
|
inlinenodiscard |
Getter function for property with the same name.
Definition at line 128 of file Airspace.h.
|
nodiscard |
Estimates the lower limit of the airspace above MSL.
This method gives a rought estimate for the lower limit of the airspace. The result is not reliable enough for aviation purposes but can be used to sort the airspaces in the GUI.
|
inlinenodiscard |
Getter function for property with the same name.
Definition at line 70 of file Airspace.h.
|
inlinenodiscard |
Getter function for property with the same name.
Definition at line 84 of file Airspace.h.
|
inlinenodiscard |
Getter function for property with the same name.
Definition at line 96 of file Airspace.h.
|
inlinenodiscard |
Getter function for property with the same name.
Definition at line 105 of file Airspace.h.
|
inlinenodiscard |
Getter function for property with the same name.
Definition at line 114 of file Airspace.h.
|
inlinenodiscard |
Getter function for property with the same name.
Definition at line 140 of file Airspace.h.
|
inlinenodiscard |
Getter function for property with the same name.
Definition at line 152 of file Airspace.h.
|
read |
Lower limit of the airspace.
A string that describes the lower bound of the airspace
Definition at line 78 of file Airspace.h.
|
read |
Lower limit of the airspace.
A string that describes the lower bound of the airspace in metric terms
Definition at line 90 of file Airspace.h.
|
read |
Upper limit of the airspace.
A string that describes the upper bound of the airspace
Definition at line 134 of file Airspace.h.
|
read |
Upper limit of the airspace.
A string that describes the upper bound of the airspace in metric terms
Definition at line 146 of file Airspace.h.