Gravity Engine 12.0
Unity Asset for Gravity
Loading...
Searching...
No Matches
PatchedConicXfer Class Reference
Inheritance diagram for PatchedConicXfer:
OrbitTransfer

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< ManeuverGetManeuvers ()
 
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< Maneuvermaneuvers
 Maneuvers required to execute the transfer.
 
float deltaV
 total cost of the manuevers
 
float deltaT
 
OrbitData fromOrbit
 
OrbitData toOrbit
 
NBody centerBody
 

Constructor & Destructor Documentation

◆ PatchedConicXfer()

PatchedConicXfer.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).

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.

Parameters
fromOrbit
toOrbit
lambda1Angle of arrival wrt planet-moon line (0..90 degrees)

The documentation for this class was generated from the following file: