Earth Observation Mission CFI Software Lib Software User Manual |
00001 //-------------------------------------------------------------------- 00002 // CVS Info: $Id: Geodetic.h,v 1.5 2009/04/13 13:30:09 expcfi Exp $ 00003 //-------------------------------------------------------------------- 00004 00005 #ifndef _EECFI_GEO_H 00006 #define _EECFI_GEO_H 00007 00008 00009 //--INCLUDE----------------------------------------------------------- 00010 #include "LibData.h" 00011 #include "CfiClass.h" 00012 #include "CfiError.h" 00013 #include "ModelId.h" 00014 00015 //--NAMESPACES-------------------------------------------------------- 00016 using namespace std; 00017 00018 namespace EECFI 00019 { 00020 00024 class Geodetic: public CfiClass 00025 { 00026 public: 00027 long deriv; 00028 double lon; 00029 double lat; 00030 double alt; 00031 double lonDer; 00032 double latDer; 00033 double altDer; 00034 00036 Geodetic() {}; 00037 00039 Geodetic(double lon, double lat, double alt); 00040 00042 Geodetic(double lon, double lat, double alt, 00043 double lonDer, double latDer, double altDer); 00044 00049 double geoDistance( const ModelId &modelId, 00050 double lon, double lat, 00051 double &az_1to2, 00052 double &az_2to1) throw (CfiError); 00053 }; 00054 00055 } // closing namespace 00056 00057 #endif