ENUUtil.hpp

Go to the documentation of this file.
00001 #pragma ident "$Id: ENUUtil.hpp 2535 2011-03-25 15:58:06Z ccutlip $"
00002 
00003 //============================================================================
00004 //
00005 //  This file is part of GPSTk, the GPS Toolkit.
00006 //
00007 //  The GPSTk is free software; you can redistribute it and/or modify
00008 //  it under the terms of the GNU Lesser General Public License as published
00009 //  by the Free Software Foundation; either version 2.1 of the License, or
00010 //  any later version.
00011 //
00012 //  The GPSTk is distributed in the hope that it will be useful,
00013 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 //  GNU Lesser General Public License for more details.
00016 //
00017 //  You should have received a copy of the GNU Lesser General Public
00018 //  License along with GPSTk; if not, write to the Free Software Foundation,
00019 //  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00020 //  
00021 //  Copyright 2007, The University of Texas at Austin
00022 //
00023 //============================================================================
00024 
00025 //
00026 //
00027 #ifndef GPSTK_ENUUTIL_HPP
00028 #define GPSTK_ENUUTIL_HPP
00029 
00030 // gpstk
00031 #include "Triple.hpp"
00032 #include "Matrix.hpp"
00033 #include "Vector.hpp"
00034 #include "Xvt.hpp"
00035 
00036 namespace gpstk
00037 {
00040 
00042    class ENUUtil
00043    {
00044       public:
00045             // Constructors
00054          ENUUtil( const double refGeodeticLatRad,
00055                   const double refLonRad);
00056          
00057             // Methods
00064          gpstk::Vector<double> convertToENU( const gpstk::Vector<double>& inV ) const;
00065          gpstk::Triple         convertToENU( const gpstk::Triple& inVec ) const;
00066          gpstk::Xvt            convertToENU( const gpstk::Xvt& in ) const;
00067 
00074          void                  updatePosition( const double refGDLatRad,
00075                                                const double refLonRad );
00076 
00077          // Utilities
00078       protected:
00079          void compute( const double refLat,
00080                        const double refLon);
00081                        
00082          Matrix<double> rotMat;
00083    };
00084 
00086 
00087 }   
00088 #endif      

Generated on Wed Feb 8 03:30:59 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1