|
| static double | GetAirDensity (double h) |
| | Calculate air density at a given altitude.
|
| |
| static double | GetAtmosphericPressure (double h) |
| | Calculate atmospheric pressure at a given altitude.
|
| |
| static double | GetTemperature (double h) |
| | Calculate air temperature at a given altitude.
|
| |
|
|
const double | g0 = 9.80665f |
| |
|
const double | mu = 398600441800000.0 |
| |
|
const double | R = 6371000f |
| |
◆ GetAirDensity()
| static double Atmosphere.GetAirDensity |
( |
double | h | ) |
|
|
static |
Calculate air density at a given altitude.
- Parameters
-
- Returns
- Air density in kg/m3
◆ GetAtmosphericPressure()
| static double Atmosphere.GetAtmosphericPressure |
( |
double | h | ) |
|
|
static |
Calculate atmospheric pressure at a given altitude.
- Parameters
-
- Returns
- Pressure in kiloPascals
◆ GetTemperature()
| static double Atmosphere.GetTemperature |
( |
double | h | ) |
|
|
static |
Calculate air temperature at a given altitude.
- Parameters
-
- Returns
- Temperature in Celsius
The documentation for this class was generated from the following file:
- ge2/GE2/Assets/GravityEngine2/Runtime/Core/ExternalAcceleration/Atmosphere.cs