Changeset 1758 for trunk/MagicSoft/Cosy/catalog/Slalib.h
- Timestamp:
- 02/14/03 23:18:37 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/catalog/Slalib.h
r1757 r1758 5 5 6 6 #include "coord.h" 7 #include "base/timer.h" 7 #include "timer.h" 8 #include "MObservatory.h" 8 9 9 class Slalib : public Timer 10 class Slalib : public Timer, public MObservatory 10 11 { 11 12 private: 12 double fAlpha; 13 double fMjd; 14 15 double fPhi; // location of observatory 16 double fElong; 17 18 double fHeight; 13 double fAlpha; 19 14 20 15 public: 21 Slalib( );16 Slalib(MObservatory::LocationName_t key); 22 17 virtual ~Slalib(); 23 18 24 // const AltAz GetAltAz() const { return fAltAz*360/D2PI; } 25 // const ZdAz GetZdAz() const { return ZdAz(DPI/2-fAltAz.Alt(), fAltAz.Az())*360/D2PI; } 26 // const RaDec GetRaDec() const { return fRaDec*360/D2PI; } 27 28 void SetMjd2Now(); 29 void SetMjd(const struct timeval *tm); 30 31 virtual void SetMjd(const double mjd); 19 virtual void SetMjd(double mjd); 32 20 33 21 double GetAlpha() const { return fAlpha; } 34 double GetMjd() const { return fMjd; }35 36 double GetPhi() const { return fPhi; }37 double GetElong() const { return fElong; }38 39 double GetHeight() const { return fHeight; }40 22 41 23 ZdAz XYZ2ZdAz(double coord[3]) const;
Note:
See TracChangeset
for help on using the changeset viewer.