Gravity Engine 2 3.0
Loading...
Searching...
No Matches
GravityEngine2.BodyInitData Class Reference

Container class to hold common info for init of an orbital body. More...

Public Types

enum  InitDataType {
  RV_ABSOLUTE , RV_RELATIVE , COE , COE_ApoPeri ,
  COE_HYPERBOLA , TWO_LINE_ELEMENT , LATLONG_POS
}
 

Public Member Functions

bool FillInCOE (Orbital.COE coe)
 Fill in the provided COE with the orbital elements in the units defined by the BID.
 
bool IsCOEType ()
 
bool IsRVType ()
 

Public Attributes

double a = 10.0
 
double apoapsis = 10.0
 
double eccentricity = 0.0
 
bool haveSatData
 
double inclination = 0.0
 
InitDataType initData = InitDataType.RV_ABSOLUTE
 
double latitude
 
double longitude
 
double nu = 0.0
 
double omega_lc = 0.0
 
double omega_uc = 0.0
 
double p_semi = 10.0
 
double periapsis = 10.0
 
double3 r
 
SGP4SatData satData
 
double startEpochJD = 0.0
 
string tleData = null
 
GBUnits.Units units
 
double3 v
 

Detailed Description

Container class to hold common info for init of an orbital body.

Currently used in GSBody and GSDisplayOrbit (when want to show an orbit without a link to an existing body)

Member Function Documentation

◆ FillInCOE()

bool GravityEngine2.BodyInitData.FillInCOE ( Orbital::COE coe)

Fill in the provided COE with the orbital elements in the units defined by the BID.

Parameters
coe
Returns

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