0.2.0
|
Pressure calculation formulas. More...
Go to the source code of this file.
Enumerations | |
enum class | NAV::PressureModel : int { None , ConstNN , ISA , GPT2 , GPT3 , COUNT } |
Available pressure Models. More... | |
Functions | |
double | NAV::calcTotalPressure (double altitudeMSL, PressureModel pressureModel) |
Calculates the total pressure. | |
bool | NAV::ComboPressureModel (const char *label, PressureModel &pressureModel) |
Shows a ComboBox to select the pressure model. | |
const char * | NAV::to_string (PressureModel pressureModel) |
Converts the enum to a string. | |
Pressure calculation formulas.
|
strong |
double NAV::calcTotalPressure | ( | double | altitudeMSL, |
PressureModel | pressureModel ) |
Calculates the total pressure.
[in] | altitudeMSL | Geodetic height above MSL (mean sea level) [m] |
[in] | pressureModel | Pressure model to use |
bool NAV::ComboPressureModel | ( | const char * | label, |
PressureModel & | pressureModel ) |
Shows a ComboBox to select the pressure model.
[in] | label | Label to show beside the combo box. This has to be a unique id for ImGui. |
[in] | pressureModel | Reference to the pressure model to select |
const char * NAV::to_string | ( | PressureModel | pressureModel | ) |
Converts the enum to a string.
[in] | pressureModel | Enum value to convert into text |