Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
AeroGUI Class Reference
Inheritance diagram for AeroGUI:

Public Member Functions

void DrawWindow (int windowID)
 
void DrawWindowThermal (int windowID)
 
void GetAeroStats (Vector3d nVel)
 
void GetThermalStats (Vessel vessel)
 
void OnGUI ()
 
void Start ()
 
void Update ()
 

Public Attributes

double convectiveTotal = 0d
 via regex More...
 
double dTime
 thermal counter More...
 
double terminalV
 
bool winterOwlModeOff = true
 

Static Public Attributes

static Rect windowPos = new Rect(100, 100, 0, 0)
 
static Rect windowPosThermal = new Rect(200, 200, 0, 0)
 

Member Function Documentation

void AeroGUI.DrawWindow ( int  windowID)
inline

< Now the basic craft stats

< Now lift/drag related stats

void AeroGUI.DrawWindowThermal ( int  windowID)
inline
void AeroGUI.GetAeroStats ( Vector3d  nVel)
inline

< the sum of lift from all parts

< the sum of drag from all parts

< dynamic pressure, aka Q

< Equivalent Air Speed

< Now we loop through all parts, checking the modules in each part

< get part drag (but not wing/surface drag)

< sum of all forces on the craft

< just the force in the 'lift' direction

< just the force in the 'up' direction (note, some of it may be drag!)

< drag force, = pDrag + lift-induced drag

< Lift Induced Drag

< any drag in the opposite direction of gravity

< Lift / Drag ratio

< convert kN to Newtons

< convert tonnes to kg

void AeroGUI.GetThermalStats ( Vessel  vessel)
inline

< sun

< now that we computed the angle, we choose the right pole for the axial dot.

< get normalized dot

< get latitude-based changes, if body has an atmosphere

< orbital altitude variation

< calculate air mass etc

< get solar air stuff

< get hypersonic convective shock temp

< now calculate two temperatures: the effective temp, and the maximum possible surface temperature

< now use some magic numbers to calculate minimum and maximum temperatures

< density lerps

< get convection

void AeroGUI.OnGUI ( )
inline
void AeroGUI.Start ( )
inline

< clear solar values

void AeroGUI.Update ( )
inline

< clear values

< clear solar values

< force of gravity

< angle of attack re: velocity

< sideslip re: velocity

< vertical speed in m/s

Member Data Documentation

double AeroGUI.convectiveTotal = 0d

via regex

double AeroGUI.dTime

thermal counter

double AeroGUI.terminalV
Rect AeroGUI.windowPos = new Rect(100, 100, 0, 0)
static
Rect AeroGUI.windowPosThermal = new Rect(200, 200, 0, 0)
static
bool AeroGUI.winterOwlModeOff = true

The documentation for this class was generated from the following file: