oapiGetAtmPressureDensity

From OrbiterWiki
Revision as of 22:38, 22 July 2005 by RaMan (talk | contribs) (sorting specifier)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Returns the atmospheric pressure and density at the current vessel position.

void oapiGetAtmPressureDensity (
                               OBJHANDLE hVessel,
                               double *pressure
                               double *density)

Parameters

hVessel
vessel handle
pressure
pointer to the variable receiving pressure value (Pa)
density
pointer to the variable receiving density value (kg/m^3)

Notes

Pressure and density are calculated using an exponential barometric equation, without accounting for local variations.