C# Class RendezMe, RendezMe

Inheritance: Part
Show file Open project: bengarney/RendezMe

Public Properties

Property Type Description
AlignmentCaptions string[]
ControlModeCaptions string[]
Kd float
Ki float
Kp float
PointAt Orient
SyncMode SynchronizationType

Protected Properties

Property Type Description
WindowPos Rect

Protected Methods

Method Description
onDisconnect ( ) : void
onFlightStart ( ) : void
onPartDestroy ( ) : void
onPartStart ( ) : void
onPartUpdate ( ) : void

Private Methods

Method Description
CalculateNearestRendezvousInSeconds ( double &timeToRendezvous, double &minDeltaTime ) : void
CalculateTimeTillFurtherTargetApsis ( ) : double
CalculateTimeTillNextTargetApsis ( ) : double
CheckVessel ( ) : bool

Checks if the selected vessel is still where we expect it.

DrawGUI ( ) : void

Draws the GUI.

DriveShip ( FlightCtrlState, controls ) : void
PerformSyncPartLogic ( ) : void
RenderAlignUI ( GUIStyle sty ) : void
RenderOffUI ( GUIStyle sty ) : void
RenderRendezvousUI ( GUIStyle sty ) : void
RenderSelectedUI ( GUIStyle sty ) : void
RenderSyncUI ( GUIStyle sty ) : void
RenderVesselsUI ( GUIStyle sty ) : void
UpdateVectors ( ) : void

Updates the vectors.

WindowGUI ( int windowID ) : void

Method Details

onDisconnect() protected method

protected onDisconnect ( ) : void
return void

onFlightStart() protected method

protected onFlightStart ( ) : void
return void

onPartDestroy() protected method

protected onPartDestroy ( ) : void
return void

onPartStart() protected method

protected onPartStart ( ) : void
return void

onPartUpdate() protected method

protected onPartUpdate ( ) : void
return void

Property Details

AlignmentCaptions public property

public string[] AlignmentCaptions
return string[]

ControlModeCaptions public property

public string[] ControlModeCaptions
return string[]

Kd public property

public float Kd
return float

Ki public property

public float Ki
return float

Kp public property

public float Kp
return float

PointAt public property

public Orient PointAt
return Orient

SyncMode public property

public SynchronizationType SyncMode
return SynchronizationType

WindowPos protected property

protected Rect WindowPos
return Rect