Gravity Engine 12.0
Unity Asset for Gravity
|
Public Member Functions | |
PatchedConicXfer (OrbitData fromOrbit, OrbitData toOrbit, double lambda1Deg) | |
Calculate the transfer maneuver from a circular initial orbit to the sphere of influence (SOI) of a smaller mass orbiting the same body as the spaceship (e.g. Earth to Moon transfer). | |
double | GetTimeOfFlight () |
PatchedConicXfer | CreateTransferCopy (double lambda1Deg) |
override string | ToString () |
Public Member Functions inherited from OrbitTransfer | |
OrbitTransfer (OrbitData fromOrbit, OrbitData toOrbit) | |
OrbitTransfer (OrbitData fromOrbit) | |
float | GetDeltaV () |
float | GetDeltaT () |
List< Maneuver > | GetManeuvers () |
override string | ToString () |
Static Public Attributes | |
const double | LAMBDA1_DEFAULT = 75f |
Additional Inherited Members | |
Protected Attributes inherited from OrbitTransfer | |
string | name = "base (error)" |
Name of the transfer (will be over-riden by implementing class. | |
List< Maneuver > | maneuvers |
Maneuvers required to execute the transfer. | |
float | deltaV |
total cost of the manuevers | |
float | deltaT |
OrbitData | fromOrbit |
OrbitData | toOrbit |
NBody | centerBody |
Calculate the transfer maneuver from a circular initial orbit to the sphere of influence (SOI) of a smaller mass orbiting the same body as the spaceship (e.g. Earth to Moon transfer).
Assumes the moon orbit is spherical and co-planar with the spaceship initial orbit.
Patched conic is an approximation that assumes the ship moves in only the field of the central body until it gets to the SOI. In reality (and GE evolution) there will be an influence from the Moon and the actual result will differ slightly.
fromOrbit | |
toOrbit | |
lambda1 | Angle of arrival wrt planet-moon line (0..90 degrees) |