Difference between revisions of "oapiGetAtmPressureDensity"

From OrbiterWiki
Jump to navigation Jump to search
m
(Added category.)
 
Line 14: Line 14:
 
Pressure and density are calculated using an exponential barometric equation, without accounting for local variations on [[Celestial body|celestial bodies]] without [[Atmosphere model|atmosphere model]] inside their [[Module|module]].
 
Pressure and density are calculated using an exponential barometric equation, without accounting for local variations on [[Celestial body|celestial bodies]] without [[Atmosphere model|atmosphere model]] inside their [[Module|module]].
  
[[Category:OrbiterSDK|GetAtmPressureDensity]][[Category:Aerodynamics API|GetAtmPressureDensity]]
+
[[Category: Articles]]
[[Category:Aerodynamics]]
+
[[Category:OrbiterSDK|GetAtmPressureDensity]]
 +
[[Category:Aerodynamics API|GetAtmPressureDensity]]
 +
[[Category:Aerodynamics]]

Latest revision as of 15:49, 16 October 2022

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

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

Parameters[edit]

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

Notes[edit]

Pressure and density are calculated using an exponential barometric equation, without accounting for local variations on celestial bodies without atmosphere model inside their module.