oapiGetAtmPressureDensity
From OrbiterWiki
Returns the atmospheric pressure and density at the current vessel position.
void oapiGetAtmPressureDensity (
OBJHANDLE hVessel,
double *pressure
double *density)
[edit] Parameters
- hVessel
- vessel handle
- pressure
- pointer to the variable receiving pressure value (Pa)
- density
- pointer to the variable receiving density value (kg/m^3)
[edit] Notes
Pressure and density are calculated using an exponential barometric equation, without accounting for local variations on celestial bodies without atmosphere model inside their module.

