SunPosition.hpp

Go to the documentation of this file.
00001 #pragma ident "$Id: SunPosition.hpp 2741 2011-06-22 16:37:02Z nwu $"
00002 
00009 #ifndef SUNPOSITION_HPP
00010 #define SUNPOSITION_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 //  Dagoberto Salazar - gAGE ( http://www.gage.es ). 2007
00031 //
00032 //============================================================================
00033 
00034 
00035 #include <cmath>
00036 #include <string>
00037 
00038 #include "DayTime.hpp"
00039 #include "Triple.hpp"
00040 #include "icd_200_constants.hpp"
00041 #include "AstronomicalFunctions.hpp"
00042 
00043 
00044 
00045 namespace gpstk
00046 {
00047 
00050 
00066    class SunPosition
00067    {
00068    public:
00069 
00071       SunPosition() throw() {}
00072 
00074       virtual ~SunPosition() {}
00075 
00076 
00092       Triple getPosition(const DayTime& t) const
00093          throw(InvalidRequest);
00094 
00095 
00101       Triple getPositionCIS(const DayTime& t) const
00102          throw(InvalidRequest);
00103 
00104 
00112       DayTime getInitialTime() const throw(InvalidRequest)
00113       { return initialTime; }
00114 
00115 
00123       DayTime getFinalTime() const throw(InvalidRequest)
00124       { return finalTime; }
00125 
00126 
00127    private:
00128 
00130       static const DayTime initialTime;
00131 
00133       static const DayTime finalTime;
00134 
00135    }; // end class SunPosition
00136 
00137 
00139 
00140 } // namespace gpstk
00141 #endif  // SUNPOSITION_HPP

Generated on Fri Feb 3 03:31:05 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1