Method | Description | |
---|---|---|
AltitudeFromPosition ( kOS.Suffixed.Vector position ) : ScalarValue |
Interpret the vector given as a 3D position, and return the altitude above sea level of this body.
|
|
BodyTarget ( ) : System | ||
BodyTarget ( CelestialBody body, SharedObjects shareObj ) : System | ||
BodyTarget ( string name, SharedObjects shareObj ) : System | ||
Dump ( ) : Dump | ||
Equals ( object obj ) : bool | ||
GeoCoordinatesFromPosition ( kOS.Suffixed.Vector position ) : |
Interpret the vector given as a 3D position, and return the geocoordinates directly underneath it on this body.
|
|
GetDistance ( ) : double | ||
GetHashCode ( ) : int | ||
GetName ( ) : StringValue | ||
GetNorthVector ( ) : kOS.Suffixed.Vector | ||
GetOrbitAtUT ( double desiredUT ) : Orbit | ||
GetPosition ( ) : kOS.Suffixed.Vector | ||
GetPositionAtUT ( kOS.Suffixed.TimeSpan timeStamp ) : kOS.Suffixed.Vector | ||
GetSuffix ( string suffixName ) : ISuffixResult | ||
GetUpVector ( ) : kOS.Suffixed.Vector | ||
GetVelocities ( ) : |
||
GetVelocitiesAtUT ( kOS.Suffixed.TimeSpan timeStamp ) : |
||
LoadDump ( Dump dump ) : void | ||
SetSharedObjects ( SharedObjects sharedObjects ) : void | ||
ToString ( ) : string | ||
operator ( ) : bool |
Method | Description | |
---|---|---|
Equals ( |
Method | Description | |
---|---|---|
BodyInitializeSuffixes ( ) : void | ||
RawAngularVelFromRelative ( Vector3 angularVelFromKSP ) : kOS.Suffixed.Vector |
Annoyingly, KSP returns CelestialBody.angularVelociy in a frame of reference relative to the ship facing instead of the universe facing. This would be wonderful if that was their philosophy everywhere, but it's not - its just a weird exception for this one case. This transforms it back into raw universe axes again:
|
public AltitudeFromPosition ( kOS.Suffixed.Vector position ) : ScalarValue | ||
position | kOS.Suffixed.Vector | Vector to use as the 3D position in ship-raw coords |
return | ScalarValue |
public BodyTarget ( CelestialBody body, SharedObjects shareObj ) : System | ||
body | CelestialBody | |
shareObj | SharedObjects | |
return | System |
public BodyTarget ( string name, SharedObjects shareObj ) : System | ||
name | string | |
shareObj | SharedObjects | |
return | System |
public GeoCoordinatesFromPosition ( kOS.Suffixed.Vector position ) : |
||
position | kOS.Suffixed.Vector | Vector to use as the 3D position in ship-raw coords |
return |
public GetNorthVector ( ) : kOS.Suffixed.Vector | ||
return | kOS.Suffixed.Vector |
public GetOrbitAtUT ( double desiredUT ) : Orbit | ||
desiredUT | double | |
return | Orbit |
public GetPositionAtUT ( kOS.Suffixed.TimeSpan timeStamp ) : kOS.Suffixed.Vector | ||
timeStamp | kOS.Suffixed.TimeSpan | |
return | kOS.Suffixed.Vector |
public GetSuffix ( string suffixName ) : ISuffixResult | ||
suffixName | string | |
return | ISuffixResult |
public GetVelocitiesAtUT ( kOS.Suffixed.TimeSpan timeStamp ) : |
||
timeStamp | kOS.Suffixed.TimeSpan | |
return |
public SetSharedObjects ( SharedObjects sharedObjects ) : void | ||
sharedObjects | SharedObjects | |
return | void |