Ginan
|
Functions | |
bool | jplEphPos (struct jpl_eph_data *jplEph_ptr, MjDateTT mjdTT, E_ThirdBody thirdBody, Vector3d &pos, Vector3d *vel_ptr=nullptr) |
bool | planetPosEcef (GTime time, E_ThirdBody thirdBody, VectorEcef &ecef, ERPValues erpv={}) |
double | sunVisibility (Vector3d &rSat, Vector3d &rSun, Vector3d &rMoon) |
Calculates fraction of Sun's disk visible by spacecraft 0 = full eclipse (umbra) 0 < fraction < 1 = partial eclipse (within penumbra) 1 = no eclipse (outside penumbra) | |
Enumerations | |
enum | E_SolarSysStarType { eMercury = 1 , eVenus = 2 , eEarth = 3 , eMars = 4 , eJupiter = 5 , eSaturn = 6 , eUranus = 7 , eNeptune = 8 , ePluto = 9 , eMoon = 10 , eSun = 11 , eSolarSysBarycenter = 12 , eEarthMoonBaryCenter = 13 , eJplNutation = 14 , eJPLLnrLibration = 15 , eJPLLunarMantle = 16 , eJPLTT_TDB = 17 , eSelfDefinedStarType = 99 } |
If nutations are wanted, set ntarg = 14. More... | |
enum E_SolarSysStarType |
If nutations are wanted, set ntarg = 14.
For librations, set ntarg = 15. set ncent= 0.
For TT-TDB, set ntarg = 17.
I've not actually seen an ntarg = 16 case yet.)
bool jplEphPos | ( | struct jpl_eph_data * | jplEph_ptr, |
MjDateTT | mjdTT, | ||
E_ThirdBody | thirdBody, | ||
Vector3d & | pos, | ||
Vector3d * | vel_ptr = nullptr ) |
jplEph_ptr | Pointer to jpl binary data |
mjdTT | Julian_TT |
thirdBody | Star to Calculate the Velocity and Position |
pos | Unit: m |
vel_ptr | vel (m/s) |
bool planetPosEcef | ( | GTime | time, |
E_ThirdBody | thirdBody, | ||
VectorEcef & | ecef, | ||
ERPValues | erpv = {} ) |
double sunVisibility | ( | Vector3d & | rSat, |
Vector3d & | rSun, | ||
Vector3d & | rMoon ) |
Calculates fraction of Sun's disk visible by spacecraft 0 = full eclipse (umbra) 0 < fraction < 1 = partial eclipse (within penumbra) 1 = no eclipse (outside penumbra)
rSat | Satellite position (ECEF) |
rSun | Sun position (ECEF) |
rMoon | Moon position (ECEF) |