Gravity Engine 2 5.1
|
GEmaneuver is the CLASS that represents a maneuver while it is being created and planned. As a class it is easy to adjust member variables during creation. It5 also holds a reference to the body to be applied (and optionally center it is relative to) by id. More...
Public Member Functions | |
GEManeuver (double t, double3 v, ManeuverType type) | |
double | DvMagnitude () |
string | LogString () |
Public Attributes | |
int | centerId |
DoneCallback | doneCallback |
called after the timeslice in which the maneuver was executed. NOT at the exact time! | |
double3 | dV |
bool | hasRelativeRV |
ManeuverInfo | info |
descriptive enum to indicate how maneuver was generated (strings are not allowed in IJob code) | |
object | opaqueData |
OPaque data to be used by callback. | |
GEPhysicsCore.Propagator | prop = GEPhysicsCore.Propagator.UNASSIGNED |
double3 | r_relative |
double | t_relative |
relative time of maneuver at time of planning. Used during maneuver sequence construction. | |
ManeuverType | type |
int | uniqueId |
double3 | v_relative |
double3 | velocityParam |
velocity vector. Usage depnds on the type of the manuever. In some case only the first entry in the vector is used. | |
GEmaneuver is the CLASS that represents a maneuver while it is being created and planned. As a class it is easy to adjust member variables during creation. It5 also holds a reference to the body to be applied (and optionally center it is relative to) by id.
GE expects the quantities in GEManeuver to be in the default world units it was configured for.
Once added to GE it needs to be a type that can be handled in an IJob so GE converts it into a GEManueverStruct. This struct also refences the body and center by type and index.