C# Class kOS.Suffixed.OrbitInfo

Inheritance: kOS.Suffixed.SpecialValue
Afficher le fichier Open project: KSP-KOS/KOS Class Usage Examples

Méthodes publiques

Méthode Description
GetPositionAtUT ( kOS.Suffixed.TimeSpan timeStamp ) : kOS.Suffixed.Vector

Get the position of this thing in this orbit at the given time. Note that it does NOT take into account any encounters or maneuver nodes - it assumes the current orbit patch remains followed forever.

GetVelocityAtUT ( kOS.Suffixed.TimeSpan timeStamp ) : OrbitableVelocity

Get the velocity pairing of this thing in this orbit at the given time. Note that it does NOT take into account any encounters or maneuver nodes - it assumes the current orbit patch remains followed forever.

OrbitInfo ( ) : System
OrbitInfo ( Orbit orb, SharedObjects sharedObj ) : System
OrbitInfo ( Orbitable orb, SharedObjects sharedObj ) : System
ToString ( ) : string

Private Methods

Méthode Description
GetHasNextPatch ( ) : BooleanValue

Find out whether or not the orbit has a next patch.

GetNextPatch ( ) : OrbitInfo

Return the next OrbitInfo after this one (i.e. transitional encounter)

GetNextPatchETA ( ) : ScalarValue

Returns the ETA of when the nextpatch will happen

InitializeSuffixes ( ) : void

Method Details

GetPositionAtUT() public méthode

Get the position of this thing in this orbit at the given time. Note that it does NOT take into account any encounters or maneuver nodes - it assumes the current orbit patch remains followed forever.
public GetPositionAtUT ( kOS.Suffixed.TimeSpan timeStamp ) : kOS.Suffixed.Vector
timeStamp kOS.Suffixed.TimeSpan The universal time to query for
Résultat kOS.Suffixed.Vector

GetVelocityAtUT() public méthode

Get the velocity pairing of this thing in this orbit at the given time. Note that it does NOT take into account any encounters or maneuver nodes - it assumes the current orbit patch remains followed forever.
public GetVelocityAtUT ( kOS.Suffixed.TimeSpan timeStamp ) : OrbitableVelocity
timeStamp kOS.Suffixed.TimeSpan The universal time to query for
Résultat OrbitableVelocity

OrbitInfo() public méthode

public OrbitInfo ( ) : System
Résultat System

OrbitInfo() public méthode

public OrbitInfo ( Orbit orb, SharedObjects sharedObj ) : System
orb Orbit
sharedObj SharedObjects
Résultat System

OrbitInfo() public méthode

public OrbitInfo ( Orbitable orb, SharedObjects sharedObj ) : System
orb Orbitable
sharedObj SharedObjects
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string