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

Last change on this file since 1345 was 1274, checked in by tbretz, 23 years ago
:q
File size: 1.2 KB
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 RaDec CalcRaDecFast(const AltAz &altaz) const;
37 RaDec CalcRaDecFast(const ZdAz &altaz) const;
38
39 AltAz CalcAltAz(const RaDec &radec) const;
40 ZdAz CalcZdAz (const RaDec &radec) const;
41
42 AltAz CalcAltAzFast(const RaDec &radec) const;
43 ZdAz CalcZdAzFast (const RaDec &radec) const;
44
45 ClassDef(SlaStars, 0)
46};
47
48#endif
Note: See TracBrowser for help on using the repository browser.