AstronomicalFunctions.hpp

Go to the documentation of this file.
00001 #pragma ident "$Id: AstronomicalFunctions.hpp 1161 2008-03-27 17:16:22Z ckiesch $"
00002 
00008 #ifndef ASTRONOMICALFUNCTIONS_HPP
00009 #define ASTRONOMICALFUNCTIONS_HPP
00010 
00011 //============================================================================
00012 //
00013 //  This file is part of GPSTk, the GPS Toolkit.
00014 //
00015 //  The GPSTk is free software; you can redistribute it and/or modify
00016 //  it under the terms of the GNU Lesser General Public License as published
00017 //  by the Free Software Foundation; either version 2.1 of the License, or
00018 //  any later version.
00019 //
00020 //  The GPSTk is distributed in the hope that it will be useful,
00021 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00022 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00023 //  GNU Lesser General Public License for more details.
00024 //
00025 //  You should have received a copy of the GNU Lesser General Public
00026 //  License along with GPSTk; if not, write to the Free Software Foundation,
00027 //  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00028 //  
00029 //  Dagoberto Salazar - gAGE ( http://www.gage.es ). 2007
00030 //
00031 //============================================================================
00032 
00033  
00034 #include <cmath>
00035 #include <string>
00036 
00037 #include "DayTime.hpp"
00038 #include "Triple.hpp"
00039 #include "icd_200_constants.hpp"
00040 
00041 
00042 namespace gpstk
00043 {
00046 
00047 
00049    const double AU_CONST(1.49597870e11);
00050 
00052    const double MeanEarthMoonBary(3.12e-5);
00053 
00055    const double MU_SUN(332946.0);
00056 
00058    const double MU_MOON(0.01230002);
00059 
00061    const double EarthGrav(9.80665);
00062 
00064    const double D2R(0.0174532925199432957692369);
00065 
00067    const double DAS2R(4.848136811095359935899141e-6);
00068 
00070    const double DS2R(7.272205216643039903848712e-5);
00071 
00073    const double B1950(1949.9997904423);
00074 
00076    const double ERADAU(4.2635212653763e-5);
00077 
00078 
00086    Triple CIS2CTS(const Triple posCIS,
00087                   const DayTime& t);
00088 
00089 
00095    double UTC2SID(const DayTime& t);
00096 
00098    
00099 } // namespace gpstk
00100 #endif  // ASTRONOMICALFUNCTIONS_HPP

Generated on Thu Jul 29 03:30:51 2010 for GPS ToolKit Software Library by  doxygen 1.3.9.1