Difference between revisions of "oapiGetAtmPressureDensity"

From OrbiterWiki
Jump to navigation Jump to search
m (sorting specifier)
Line 14: Line 14:
 
Pressure and density are calculated using an exponential barometric equation, without accounting for local variations.
 
Pressure and density are calculated using an exponential barometric equation, without accounting for local variations.
  
[[Category:API|GetAtmPressureDensity]][[Category:Aerodynamics|GetAtmPressureDensity]]
+
[[Category:OrbiterSDK|GetAtmPressureDensity]][[Category:Aerodynamics SDK|GetAtmPressureDensity]]

Revision as of 14:27, 4 March 2006

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.