00001
00002 #ifndef astro_EarthOrbit_H
00003 #define astro_EarthOrbit_H
00004
00005
00006 #include "astro/JulianDate.h"
00007
00008 #include "CLHEP/Vector/ThreeVector.h"
00009 namespace astro {
00010
00017 class EarthOrbit {
00018 public:
00019
00020 EarthOrbit();
00021
00025 void initialize();
00026
00031 Hep3Vector position(JulianDate jd)const;
00032
00033 private:
00034
00038 static double Kepler(double MeanAnomaly,double Eccentricity);
00039
00040 double m_M0;
00041 double m_dMdt;
00042 double m_Omega0;
00043 double m_dOmegadt;
00044 double m_w0;
00045 double m_dwdt;
00046
00047 double m_a, m_alt;
00048
00049
00050 static double s_altitude;
00051 static double s_incl;
00052 static double s_e;
00053
00054 static double s_radius;
00055
00056 };
00057
00058 }
00059 #endif