|
XPMP2
X-Plane multiplayer library 2 - using instancing
|
Wake dataRef support. More...
#include <XPMPAircraft.h>
Public Member Functions | |
| void | clear () |
| clear all values to defaults More... | |
| bool | needsDefaults () const |
| void | applyDefaults (const std::string &_wtc, bool _bOverwriteAllFields=true) |
| based on Doc8643 WTC fill with defaults More... | |
| void | fillUpFrom (const wakeTy &o) |
| Copies values only for non-NAN fields. More... | |
Public Attributes | |
| float | wingSpan_m = NAN |
| wing span of the aircraft creating wake turbulence More... | |
| float | wingArea_m2 = NAN |
| wing area (total area of both wings combined) of the aircraft creating wake turbulence More... | |
| float | mass_kg = NAN |
| actual mass of the aircraft creating the wake More... | |
Wake dataRef support.
If values aren't set during aircraft creation, ie. remain at NAN, then defaults will be applied based on the aircraft's wake turbulence category, looked up from the Doc8643 list via ICAO aircraft type designator.
| void XPMP2::Aircraft::wakeTy::applyDefaults | ( | const std::string & | _wtc, |
| bool | _bOverwriteAllFields = true |
||
| ) |
based on Doc8643 WTC fill with defaults
|
inline |
clear all values to defaults
| void XPMP2::Aircraft::wakeTy::fillUpFrom | ( | const wakeTy & | o | ) |
Copies values only for non-NAN fields.
| bool XPMP2::Aircraft::wakeTy::needsDefaults | ( | ) | const |
any value left at NAN, ie. requires setting from Doc8643 WTC defaults?
| float XPMP2::Aircraft::wakeTy::mass_kg = NAN |
actual mass of the aircraft creating the wake
| float XPMP2::Aircraft::wakeTy::wingArea_m2 = NAN |
wing area (total area of both wings combined) of the aircraft creating wake turbulence
| float XPMP2::Aircraft::wakeTy::wingSpan_m = NAN |
wing span of the aircraft creating wake turbulence