00001 #pragma ident "$Id: EarthBody.hpp 2457 2010-08-18 14:20:12Z coandrei $" 00002 00009 #ifndef GPSTK_EARTH_BODY_HPP 00010 #define GPSTK_EARTH_BODY_HPP 00011 00012 //============================================================================ 00013 // 00014 // This file is part of GPSTk, the GPS Toolkit. 00015 // 00016 // The GPSTk is free software; you can redistribute it and/or modify 00017 // it under the terms of the GNU Lesser General Public License as published 00018 // by the Free Software Foundation; either version 2.1 of the License, or 00019 // any later version. 00020 // 00021 // The GPSTk is distributed in the hope that it will be useful, 00022 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00023 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00024 // GNU Lesser General Public License for more details. 00025 // 00026 // You should have received a copy of the GNU Lesser General Public 00027 // License along with GPSTk; if not, write to the Free Software Foundation, 00028 // Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00029 // 00030 // Wei Yan - Chinese Academy of Sciences . 2009, 2010 00031 // 00032 //============================================================================ 00033 00034 00035 #include "UTCTime.hpp" 00036 00037 namespace gpstk 00038 { 00041 00045 class EarthBody 00046 { 00047 public: 00049 EarthBody() {} 00050 00052 virtual ~EarthBody() {} 00053 00058 virtual double getSpinRate(UTCTime t); 00059 00060 00061 protected: 00062 00064 static const double omegaEarth; 00065 00067 static const double radiusEarth; 00068 00070 static const double flatEarth; 00071 00073 static const double gmEarth; 00074 00075 }; // End of class 'EarthBody' 00076 00077 // @} 00078 00079 } // End of namespace 'gpstk' 00080 00081 #endif // GPSTK_EARTH_BODY_HPP 00082 00083 00084
1.3.9.1