source: trunk/MagicSoft/Cosy/catalog/SlaStars.h@ 1170

Last change on this file since 1170 was 1109, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 974 bytes
Line 
1#ifndef SLASTARS_H
2#define SLASTARS_H
3
4#include "Slalib.h"
5
6#include "coord.h"
7
8class SlaStars : public Slalib
9{
10private:
11 AltAz fAltAz; // [rad]
12 RaDec fRaDec; // [rad]
13
14 double fAmprms[21];
15 double fAoprms[14];
16
17public:
18 SlaStars();
19 virtual ~SlaStars();
20
21 // const AltAz GetAltAz() const { return fAltAz*360/D2PI; }
22 // const ZdAz GetZdAz() const { return ZdAz(DPI/2-fAltAz.Alt(), fAltAz.Az())*360/D2PI; }
23 // const RaDec GetRaDec() const { return fRaDec*360/D2PI; }
24
25 virtual void SetMjd(const double mjd);
26
27 void Set(const AltAz &altaz);
28 void Set(const ZdAz &zdaz);
29 void Set(const RaDec &radec);
30
31 ZdAz GetApproxVel(const RaDec &radec) const; // [rad/rad];
32
33 RaDec CalcRaDec(const AltAz &altaz) const;
34 RaDec CalcRaDec(const ZdAz &altaz) const;
35
36 AltAz CalcAltAz(const RaDec &radec) const;
37 ZdAz CalcZdAz (const RaDec &radec) const;
38
39 ClassDef(SlaStars, 0)
40};
41
42#endif
Note: See TracBrowser for help on using the repository browser.