![]() |
Earth Explorer Mission CFI Software Lib Software User Manual |
![]() |
00001 //-------------------------------------------------------------------- 00002 // CVS Info: $Id: StateVector.h,v 1.6 2009/04/13 13:30:11 expcfi Exp $ 00003 //-------------------------------------------------------------------- 00004 00005 #ifndef _EECFI_STATEVECTOR_H 00006 #define _EECFI_STATEVECTOR_H 00007 00008 00009 //--INCLUDE----------------------------------------------------------- 00010 #include "LibData.h" 00011 #include "CfiClass.h" 00012 #include "CfiError.h" 00013 #include "EETime.h" 00014 #include "Coord.h" 00015 #include "ModelId.h" 00016 00017 //--NAMESPACES-------------------------------------------------------- 00018 using namespace std; 00019 00020 namespace EECFI 00021 { 00022 00026 class StateVector: public CfiClass 00027 { 00028 public: 00029 00030 Time time; 00031 Coord coord; 00032 00034 StateVector() {}; 00035 00037 StateVector(Time &time, Coord &coord); 00038 00040 ~StateVector() {}; 00041 00051 StateVector change( const ModelId &modelId, long deriv, long newCS) throw (CfiError); 00052 00056 void setSun( const ModelId &modelId, Time &time) throw (CfiError); 00057 00061 void setMoon( const ModelId &modelId, Time &time) throw (CfiError); 00062 00066 void setPlanet( const ModelId &modelId, Time &time, long planet) throw (CfiError); 00067 00072 void getPositionOnOrbit( const ModelId &modelId, 00073 long angleType, long deriv, 00074 double &angle, 00075 double &angleRate, 00076 double &angleRateRate) throw (CfiError); 00077 protected: 00078 00079 private: 00080 00081 }; 00082 00083 } // closing namespace 00084 00085 #endif