6 #ifndef SWIFT_MISC_SIMULATION_XPLANE_NAVDATAREFERENCE_H
7 #define SWIFT_MISC_SIMULATION_XPLANE_NAVDATAREFERENCE_H
31 namespace swift::misc::simulation::xplane
49 int id()
const {
return m_id; }
54 virtual QVector3D
normalVector()
const override {
return m_position.normalVector(); }
57 return this->m_position.normalVectorDouble();
67 QString convertToQString(
bool i18n =
false)
const;
Generic ordered container with value semantics.
Non-owning reference to a CPropertyIndex with a subset of its features.
Generic sequential container with value semantics.
CSequence()=default
Default constructor.
Mix of the most commonly used mixin classes.
Altitude as used in aviation, can be AGL or MSL altitude.
Geodetic coordinate, a position in 3D space relative to the reference geoid.
List of objects with geo coordinates.
Reference to an entry in X-Plane's navigation data (airport, navaid, fix, etc.) with its position.
CNavDataReference()
Default constructor.
virtual std::array< double, 3 > normalVectorDouble() const
Normal vector with double precision.
int id() const
Return the navdata reference ID.
virtual geo::CLatitude latitude() const
Latitude.
virtual QVector3D normalVector() const
Normal vector.
virtual const aviation::CAltitude & geodeticHeight() const
Height, ellipsoidal or geodetic height (used in GPS)
virtual geo::CLongitude longitude() const
Longitude.
List of X-Plane navigation data entries (airports, navaids, fixes, etc) with their positions.
CNavDataReferenceList()
Default constructor.
#define SWIFT_DECLARE_SEQUENCE_MIXINS(Namespace, T, List)
Explicit template declaration of mixins for a CSequence subclass to be placed near the top of the hea...
#define SWIFT_MISC_EXPORT
Export a class or function from the library.
#define SWIFT_DECLARE_VALUEOBJECT_MIXINS(Namespace, Class)
Explicit template declaration of mixins for a CValueObject subclass to be placed near the top of the ...