| Earth Observation Mission CFI Software Lib Software User Manual |

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

# Z:/work/code/expcfidev/cplusplusWrapper/Lib/include/Star.h

    00001 //--------------------------------------------------------
    00002 // Earth Observation Mission CFI Software. Version 4.4
    00003 //--------------------------------------------------------
    00004
    00005 //--------------------------------------------------------------------
    00006 // CVS Info: $Id: Star.h,v 1.10 2012/06/20 16:11:18 expcfi Exp $
    00007 //--------------------------------------------------------------------
    00008
    00009 #ifndef _EECFI_STAR_H
    00010 #define _EECFI_STAR_H
    00011
    00012
    00013 //--INCLUDE-----------------------------------------------------------
    00014 #include "LibData.h"
    00015 #include "CfiClass.h"
    00016 #include "CfiError.h"
    00017 #include "EETime.h"
    00018 #include "Coord.h"
    00019
    00020 //--NAMESPACES--------------------------------------------------------
    00021 using namespace std;
    00022
    00023 namespace EECFI
    00024 {
    00025   class Coord; // Dummy declaration to avoid crossed-include problems.
    00026
    00030   class StarData: public CfiClass
    00031   {
    00032     public:
    00033
    00034       double ra;
    00035       double dec;
    00036       double muRa;
    00037       double muDec;
    00038       double radVel;
    00039       double parallax;
    00040       long   cs;
    00041
    00043       StarData();
    00044
    00046       StarData( double ra,     double dec,
    00047                 double muRa,   double muDec,
    00048                 double radVel, double par,
    00049                 long cs);
    00050
    00052       ~StarData() {};
    00053
    00057       Coord getCart( const ModelId &modelId, long deriv) throw (CfiError);
    00058
    00062       void getStar( const ModelId &modelId, Time &time, double &newRa, double &newDec) throw (CfiError);
    00063
    00067       StarData changeCatalog( const ModelId &modelId, Time &time, long newCatalog) throw (CfiError);
    00068
    00069     protected:
    00070
    00071     private:
    00072
    00074       long getCatalog();
    00075
    00077       long getCs(long catalogue);
    00078
    00079   };
    00080
    00081 } // closing namespace
    00082
    00083 #endif