Gravity Engine 2 5.1
|
Scene wrapper for the. More...
Public Member Functions | |
void | ComputeTransfer () |
Compute a transfer BUT do not preform it. | |
List< GEManeuver > | Maneuvers () |
Get the maneuvers for the last transfer ComputeTransfer() | |
void | Transfer () |
Compute and perform the transfer. | |
Public Attributes | |
GSBody | centerBody |
bool | checkHit = false |
double | circleThreshold = Orbital.SMALL_E |
GSController | gsController |
bool | keysEnabled = false |
bool | lambertAlways = false |
TransferShip.LambertTimeType | lambertTimeMode = TransferShip.LambertTimeType.RELATIVE_TO_NOMINAL |
For Lambert transfers the time of the transfer needs to be specified. The most "scale friendly" way to do this is to use a time factor which is a multiplier on the nominal minimal energy Lambert transfer. | |
bool | legacyRetrograde = false |
bool | retrograde = false |
GSBody | ship |
GSBody | targetBody |
TransferShip.TargetMode | targetMode = TransferShip.TargetMode.SHIP_TO_ORBIT |
GSDisplayOrbit | targetOrbit |
double3 | targetPoint |
double | timeFactor = 1.0 |
double | timeTransfer = 10.0 |
bool | transferAtStart = false |
Scene wrapper for the.
void GravityEngine2.GSTransferShip.ComputeTransfer | ( | ) |
Compute a transfer BUT do not preform it.
The resulting maneuvers can be retrieved via Maneuvers()
This will be added as a physics complete callback, since in job mode we cannot change state while jobs are running.
List< GEManeuver > GravityEngine2.GSTransferShip.Maneuvers | ( | ) |
Get the maneuvers for the last transfer ComputeTransfer()
void GravityEngine2.GSTransferShip.Transfer | ( | ) |
Compute and perform the transfer.
This will be added as a physics complete callback, since in job mode we cannot change state while jobs are running.
TransferShip.LambertTimeType GravityEngine2.GSTransferShip.lambertTimeMode = TransferShip.LambertTimeType.RELATIVE_TO_NOMINAL |
For Lambert transfers the time of the transfer needs to be specified. The most "scale friendly" way to do this is to use a time factor which is a multiplier on the nominal minimal energy Lambert transfer.
If the explicit world time fo the transfer is to be specified this is also supported.
The result is a modal choice for Lambert transfers.