00001 // 00002 #ifndef astro_SolarSystem_H 00003 #define astro_SolarSystem_H 00004 00005 00006 #include "astro/JulianDate.h" 00007 #include "astro/SkyDir.h" 00008 00009 // forward declaration 00010 class SolSystem; 00011 00012 namespace astro { 00013 00023 class SolarSystem { 00024 00025 public: 00029 enum Body{ 00030 //VENUS=1, MARS=2, JUPITER=3,SATURN=4, 00031 //URANUS=5,NEPTUNE=6, PLUTO=7, 00032 Sun=8, Moon=9 }; 00033 SolarSystem(); 00034 00039 SolarSystem( Body body, JulianDate date ); 00040 ~SolarSystem(); 00041 00045 SkyDir direction(Body body, JulianDate date) ; 00046 00050 operator SkyDir()const { return m_dir; } 00051 private: 00052 00053 SkyDir m_dir; 00054 SolSystem* m_ss; 00055 }; 00056 00057 } // namespace astro 00058 00059 #endif
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001