C# Class kOS.Suffixed.OrbitableVelocity

Holds the velocity of an object in both orbital and prograde reference frames. (Note this may become moot after vector reference frame transformation is implemented.)
Inheritance: kOS.Suffixed.SpecialValue
Afficher le fichier Open project: KSP-KOS/KOS Class Usage Examples

Méthodes publiques

Méthode Description
OrbitableVelocity ( CelestialBody b, SharedObjects shared ) : kOS.Safe.Encapsulation
OrbitableVelocity ( kOS.Suffixed.Vector orbVel, kOS.Suffixed.Vector surfVel ) : kOS.Safe.Encapsulation

Create a OrbitableVelocity object out of a raw pair of hardcoded orbital and surface velocity: This leaves it up to the caller to be responsible for making sure the orbital and surface velocities match each other.

OrbitableVelocity ( Vessel v ) : kOS.Safe.Encapsulation
ToString ( ) : string

Private Methods

Méthode Description
InitializeSuffixes ( ) : void

Method Details

OrbitableVelocity() public méthode

public OrbitableVelocity ( CelestialBody b, SharedObjects shared ) : kOS.Safe.Encapsulation
b CelestialBody
shared SharedObjects
Résultat kOS.Safe.Encapsulation

OrbitableVelocity() public méthode

Create a OrbitableVelocity object out of a raw pair of hardcoded orbital and surface velocity: This leaves it up to the caller to be responsible for making sure the orbital and surface velocities match each other.
public OrbitableVelocity ( kOS.Suffixed.Vector orbVel, kOS.Suffixed.Vector surfVel ) : kOS.Safe.Encapsulation
orbVel kOS.Suffixed.Vector orbital velocity in raw reference frame
surfVel kOS.Suffixed.Vector surface velocity in raw reference frame
Résultat kOS.Safe.Encapsulation

OrbitableVelocity() public méthode

public OrbitableVelocity ( Vessel v ) : kOS.Safe.Encapsulation
v Vessel
Résultat kOS.Safe.Encapsulation

ToString() public méthode

public ToString ( ) : string
Résultat string