| Rev | Line |   | 
|---|
| [534] | 1 | // skyposition.h
 | 
|---|
 | 2 | // Eric Aubourg         CEA/DAPNIA/SPP   septembre 1999
 | 
|---|
 | 3 | 
 | 
|---|
 | 4 | #ifndef SKYPOSITION_H
 | 
|---|
 | 5 | #define SKYPOSITION_H
 | 
|---|
 | 6 | 
 | 
|---|
 | 7 | class SkyPosition {
 | 
|---|
 | 8 | public:
 | 
|---|
 | 9 |   SkyPosition();
 | 
|---|
 | 10 |   
 | 
|---|
 | 11 |   void setEarthLocation(double  latitude, double  longitude);
 | 
|---|
 | 12 |   void getEarthLocation(double& latitude, double& longitude) const;
 | 
|---|
 | 13 |   
 | 
|---|
 | 14 |   void setAltAz(double  altitude, double  azimut);
 | 
|---|
 | 15 |   void getAltAz(double& altitude, double& azimut) const;
 | 
|---|
 | 16 |   
 | 
|---|
 | 17 |   void setEquat(double  ra, double  dec);
 | 
|---|
 | 18 |   void getEquat(double& ra, double& dec);
 | 
|---|
 | 19 |   
 | 
|---|
 | 20 |   void setGalac(double  l, double  b);
 | 
|---|
 | 21 |   void getGalav(double& l, double& b) const;
 | 
|---|
 | 22 |   
 | 
|---|
 | 23 |   void setTSid(double  lst);
 | 
|---|
 | 24 |   void getTSid(double& lst) const;
 | 
|---|
 | 25 |   
 | 
|---|
 | 26 |   // void setMJD(double mjd); Pour faire proprement, garder synchro avec tsid...
 | 
|---|
 | 27 |   
 | 
|---|
 | 28 | protected:
 | 
|---|
 | 29 |   // All this is kept in sync. Recompute from AltAz on location/tsid change.
 | 
|---|
 | 30 |   double lat, long;
 | 
|---|
 | 31 |   double alt, az;
 | 
|---|
 | 32 |   double ra, dec;  
 | 
|---|
 | 33 |   double tsid;
 | 
|---|
 | 34 | };
 | 
|---|
 | 35 | 
 | 
|---|
 | 36 | #endif
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.