Method | Description | |
---|---|---|
Dump ( ) : Dump | ||
GeoCoordinates ( ) : System | ||
GeoCoordinates ( CelestialBody body, SharedObjects sharedObj, double latitude, double longitude ) : System |
Build a GeoCoordinates from any arbitrary lat/long pair of floats.
|
|
GeoCoordinates ( |
Build a GeoCoordinates from the current lat/long of the orbitable object passed in. The object being checked for should be in the same SOI as the vessel running the CPU or the results are meaningless.
|
|
GeoCoordinates ( SharedObjects sharedObj, double latitude, double longitude ) : System |
Build a GeoCoordinates from any arbitrary lat/long pair of doubles.
|
|
GeoCoordinates ( SharedObjects sharedObj, float latitude, float longitude ) : System |
Build a GeoCoordinates from any arbitrary lat/long pair of floats.
|
|
GetAltitudePosition ( ScalarValue altitude ) : Vector |
The point above or below the surface of this LAT/LONG from where the current CPU vessel is now.
|
|
GetAltitudeVelocities ( ScalarValue altitude ) : OrbitableVelocity |
The pair of velocities representing this spot's velocity due to planetary rotation, at this (sea level) altitude:
|
|
GetBearing ( ) : ScalarValue |
The bearing from the current CPU vessel to the surface spot with the given lat/long coords, relative to the current CPU vessel's heading.
|
|
GetPosition ( ) : Vector |
The surface point of this LAT/LONG from where the current CPU vessel is now.
|
|
GetTerrainAltitude ( ) : ScalarValue |
Returns the ground's altitude above sea level at this geo position.
|
|
GetVelocities ( ) : OrbitableVelocity |
The pair of velocities representing this spot's velocity due to planetary rotation.
|
|
LoadDump ( Dump dump ) : void | ||
SetSharedObjects ( SharedObjects sharedObjects ) : void | ||
ToString ( ) : string |
Method | Description | |
---|---|---|
GeoCoordsInitializeSuffixes ( ) : void | ||
GetDistanceFrom ( ) : ScalarValue |
The distance of the surface point of this LAT/LONG from where the current CPU vessel is now.
|
|
GetHeadingFrom ( ) : ScalarValue |
The compass heading from the current position of the CPU vessel to the LAT/LANG position on the SOI body's surface.
|
public GeoCoordinates ( CelestialBody body, SharedObjects sharedObj, double latitude, double longitude ) : System | ||
body | CelestialBody | A different celestial body to select a lat/long for that might not be the current one |
sharedObj | SharedObjects | to know the current CPU's running vessel |
latitude | double | latitude |
longitude | double | longitude |
return | System |
public GeoCoordinates ( |
||
orb | object to take current coords of | |
sharedObj | SharedObjects | to know the current CPU's running vessel |
return | System |
public GeoCoordinates ( SharedObjects sharedObj, double latitude, double longitude ) : System | ||
sharedObj | SharedObjects | to know the current CPU's running vessel |
latitude | double | latitude |
longitude | double | longitude |
return | System |
public GeoCoordinates ( SharedObjects sharedObj, float latitude, float longitude ) : System | ||
sharedObj | SharedObjects | to know the current CPU's running vessel |
latitude | float | latitude |
longitude | float | longitude |
return | System |
public GetAltitudePosition ( ScalarValue altitude ) : Vector | ||
altitude | ScalarValue | The (sea level) altitude to get a position for |
return | Vector |
public GetAltitudeVelocities ( ScalarValue altitude ) : OrbitableVelocity | ||
altitude | ScalarValue | |
return | OrbitableVelocity |
public SetSharedObjects ( SharedObjects sharedObjects ) : void | ||
sharedObjects | SharedObjects | |
return | void |