C# Class ProtractorModule, protractor

Inheritance: PartModule
Mostra file Open project: mrenigma03/protractor Class Usage Examples

Protected Properties

Property Type Description
manualwindowPos Rect

Public Methods

Method Description
AdjustEjectAngle ( CelestialBody, orig, CelestialBody, dest ) : double
Angle2d ( Vector3d vector1, Vector3d vector2 ) : double
CalculateDeltaV ( CelestialBody, dest ) : double
CalculateDesiredEjectionAngle ( CelestialBody, orig, CelestialBody, dest ) : double
CurrentEjectAngle ( CelestialBody, check ) : double
CurrentPhase ( CelestialBody, target ) : double
DesiredPhase ( CelestialBody, dest ) : double
FixedUpdate ( ) : void
MoonAngle ( ) : double
OberthDesiredPhase ( CelestialBody, dest ) : double
OnSave ( ConfigNode node ) : void
OnStart ( PartModule, state ) : void
Update ( ) : void
burnlength ( double dv ) : double
calcmeanalt ( CelestialBody, body ) : double
drawApproach ( ) : void
drawGUI ( ) : void
fly ( FlightCtrlState, s ) : void
getbodies ( ) : void
getclosestapproach ( CelestialBody, target ) : double
getclosestorbit ( CelestialBody, target ) : Orbit,
getmoons ( ) : void
getorbitbodytype ( ) : void
getplanets ( ) : void
loadicons ( ) : void
loadsettings ( ) : void
mainGUI ( int windowID ) : void
manualGUI ( int windowID ) : void
mindistance ( CelestialBody, target, double time, double dt, Orbit, vesselorbit ) : double
printheaders ( ) : void
printmoondata ( ) : void
printplanetdata ( ) : void
printvesseldata ( ) : void
savesettings ( ) : void
switchcolor ( string key ) : void
thrustAccel ( ) : double
tmr ( ) : double
toSI ( double d ) : string

Private Methods

Method Description
initialize ( ) : void

Method Details

AdjustEjectAngle() public method

public AdjustEjectAngle ( CelestialBody, orig, CelestialBody, dest ) : double
orig CelestialBody,
dest CelestialBody,
return double

Angle2d() public method

public Angle2d ( Vector3d vector1, Vector3d vector2 ) : double
vector1 Vector3d
vector2 Vector3d
return double

CalculateDeltaV() public method

public CalculateDeltaV ( CelestialBody, dest ) : double
dest CelestialBody,
return double

CalculateDesiredEjectionAngle() public method

public CalculateDesiredEjectionAngle ( CelestialBody, orig, CelestialBody, dest ) : double
orig CelestialBody,
dest CelestialBody,
return double

CurrentEjectAngle() public method

public CurrentEjectAngle ( CelestialBody, check ) : double
check CelestialBody,
return double

CurrentPhase() public method

public CurrentPhase ( CelestialBody, target ) : double
target CelestialBody,
return double

DesiredPhase() public method

public DesiredPhase ( CelestialBody, dest ) : double
dest CelestialBody,
return double

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

MoonAngle() public method

public MoonAngle ( ) : double
return double

OberthDesiredPhase() public method

public OberthDesiredPhase ( CelestialBody, dest ) : double
dest CelestialBody,
return double

OnSave() public method

public OnSave ( ConfigNode node ) : void
node System.ConfigNode
return void

OnStart() public method

public OnStart ( PartModule, state ) : void
state PartModule,
return void

Update() public method

public Update ( ) : void
return void

burnlength() public method

public burnlength ( double dv ) : double
dv double
return double

calcmeanalt() public method

public calcmeanalt ( CelestialBody, body ) : double
body CelestialBody,
return double

drawApproach() public method

public drawApproach ( ) : void
return void

drawGUI() public method

public drawGUI ( ) : void
return void

fly() public method

public fly ( FlightCtrlState, s ) : void
s FlightCtrlState,
return void

getbodies() public method

public getbodies ( ) : void
return void

getclosestapproach() public method

public getclosestapproach ( CelestialBody, target ) : double
target CelestialBody,
return double

getclosestorbit() public method

public getclosestorbit ( CelestialBody, target ) : Orbit,
target CelestialBody,
return Orbit,

getmoons() public method

public getmoons ( ) : void
return void

getorbitbodytype() public method

public getorbitbodytype ( ) : void
return void

getplanets() public method

public getplanets ( ) : void
return void

loadicons() public method

public loadicons ( ) : void
return void

loadsettings() public method

public loadsettings ( ) : void
return void

mainGUI() public method

public mainGUI ( int windowID ) : void
windowID int
return void

manualGUI() public method

public manualGUI ( int windowID ) : void
windowID int
return void

mindistance() public method

public mindistance ( CelestialBody, target, double time, double dt, Orbit, vesselorbit ) : double
target CelestialBody,
time double
dt double
vesselorbit Orbit,
return double

printheaders() public method

public printheaders ( ) : void
return void

printmoondata() public method

public printmoondata ( ) : void
return void

printplanetdata() public method

public printplanetdata ( ) : void
return void

printvesseldata() public method

public printvesseldata ( ) : void
return void

savesettings() public method

public savesettings ( ) : void
return void

switchcolor() public method

public switchcolor ( string key ) : void
key string
return void

thrustAccel() public method

public thrustAccel ( ) : double
return double

tmr() public method

public tmr ( ) : double
return double

toSI() public method

public toSI ( double d ) : string
d double
return string

Property Details

manualwindowPos protected_oe property

protected Rect manualwindowPos
return Rect