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

Public Member Functions

 LambertBattin (OrbitData _fromOrbit, OrbitData _toOrbit)
 
 LambertBattin (NBody fromBody, NBody centerNBody, Vector3d r_from, Vector3d r_to, Vector3d fromAxis)
 
Vector3d GetTransferVelocity ()
 
Vector3d GetFinalVelocity ()
 
int ComputeXfer (bool reverse, bool df, int nrev, double dtsec)
 
int ComputeXferWithPhasing (bool reverse, bool df, int nrev, double dtsec, bool rendezvous)
 
void SetPlanetRadius (double radius)
 Set the radius of the planet around which transfer is to be computed. This is used when calls to ComputeTransferWithPhasing(). In the event that the requested trajectory hits the planet.
 
void ClearPlanetRadius ()
 
string Log ()
 
- 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 int IMPACT = 4
 

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
 

Member Function Documentation

◆ SetPlanetRadius()

void LambertBattin.SetPlanetRadius ( double  radius)

Set the radius of the planet around which transfer is to be computed. This is used when calls to ComputeTransferWithPhasing(). In the event that the requested trajectory hits the planet.

Parameters
radius

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