Ignore:
Timestamp:
02/14/03 23:18:37 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/catalog/Slalib.h

    r1757 r1758  
    55
    66#include "coord.h"
    7 #include "base/timer.h"
     7#include "timer.h"
     8#include "MObservatory.h"
    89
    9 class Slalib : public Timer
     10class Slalib : public Timer, public MObservatory
    1011{
    1112private:
    12     double   fAlpha;
    13     double   fMjd;
    14 
    15     double   fPhi;      // location of observatory
    16     double   fElong;
    17 
    18     double   fHeight;
     13    double fAlpha;
    1914
    2015public:
    21     Slalib();
     16    Slalib(MObservatory::LocationName_t key);
    2217    virtual ~Slalib();
    2318
    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);
    3220
    3321    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; }
    4022
    4123    ZdAz   XYZ2ZdAz(double coord[3]) const;
Note: See TracChangeset for help on using the changeset viewer.