00001 #pragma ident "$Id: GPSGeoid.hpp 70 2006-08-01 18:36:21Z ehagen $" 00002 00003 00004 00010 #ifndef GPSTK_GPSGEOID_HPP 00011 #define GPSTK_GPSGEOID_HPP 00012 00013 //============================================================================ 00014 // 00015 // This file is part of GPSTk, the GPS Toolkit. 00016 // 00017 // The GPSTk is free software; you can redistribute it and/or modify 00018 // it under the terms of the GNU Lesser General Public License as published 00019 // by the Free Software Foundation; either version 2.1 of the License, or 00020 // any later version. 00021 // 00022 // The GPSTk is distributed in the hope that it will be useful, 00023 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00024 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00025 // GNU Lesser General Public License for more details. 00026 // 00027 // You should have received a copy of the GNU Lesser General Public 00028 // License along with GPSTk; if not, write to the Free Software Foundation, 00029 // Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00030 // 00031 // Copyright 2004, The University of Texas at Austin 00032 // 00033 //============================================================================ 00034 00035 #include "WGS84Geoid.hpp" 00036 #include "icd_200_constants.hpp" 00037 00038 namespace gpstk 00039 { 00042 00055 class GPSGeoid : public WGS84Geoid 00056 { 00057 public: 00060 virtual double angVelocity() const throw() 00061 { return 7.2921151467e-5; } 00062 00065 virtual double gm() const throw() 00066 { return 3.986005e14; } 00067 00070 virtual double gm_km() const throw() 00071 { return 3.9860034e5; } 00072 00075 virtual double c() const throw() 00076 { return C_GPS_M; } 00077 00080 virtual double c_km() const throw() 00081 { return (C_GPS_M / 1000); } 00082 00083 }; // class GPSGeoid 00084 00086 00087 } // namespace 00088 00089 #endif
1.3.9.1