NEDUtil.hpp

Go to the documentation of this file.
00001 #pragma ident "$Id: NEDUtil.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 
00028 //
00029 //
00030 #ifndef GPSTK_NEDUTIL_HPP
00031 #define GPSTK_NEDUTIL_HPP
00032 
00033 // gpstk
00034 #include "Triple.hpp"
00035 #include "Matrix.hpp"
00036 #include "Vector.hpp"
00037 #include "Xvt.hpp"
00038 
00039 namespace gpstk
00040 {
00043 
00045    class NEDUtil
00046    {
00047       public:
00048             // Constructors
00056         NEDUtil( const double refGdLatRad,
00057                   const double refLonRad);
00058          
00059             // Methods
00066          gpstk::Vector<double> convertToNED( const gpstk::Vector<double>& inV ) const;
00067          gpstk::Triple         convertToNED( const gpstk::Triple& inVec ) const;
00068          gpstk::Xvt            convertToNED( const gpstk::Xvt& in ) const;
00069          
00076          void                  updatePosition( const double refLatRad,
00077                                                const double refLonRad );
00078                                   
00079             // Utilities
00080       protected:
00081          void compute( const double refLat,
00082                        const double refLon);
00083                        
00084          Matrix<double> rotMat;
00085    };
00086 
00088 
00089 }   
00090 #endif      

Generated on Tue May 22 03:31:00 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1