| Line | |
|---|
| 1 | #ifndef SLASTARS_H
|
|---|
| 2 | #define SLASTARS_H
|
|---|
| 3 |
|
|---|
| 4 | #include "Slalib.h"
|
|---|
| 5 |
|
|---|
| 6 | class SlaStars : public Slalib
|
|---|
| 7 | {
|
|---|
| 8 | private:
|
|---|
| 9 | AltAz fAltAz; // [rad]
|
|---|
| 10 | RaDec fRaDec; // [rad]
|
|---|
| 11 |
|
|---|
| 12 | double fAmprms[21];
|
|---|
| 13 | double fAoprms[14];
|
|---|
| 14 |
|
|---|
| 15 | public:
|
|---|
| 16 | SlaStars();
|
|---|
| 17 | virtual ~SlaStars();
|
|---|
| 18 |
|
|---|
| 19 | // const AltAz GetAltAz() const { return fAltAz*360/D2PI; }
|
|---|
| 20 | // const ZdAz GetZdAz() const { return ZdAz(DPI/2-fAltAz.Alt(), fAltAz.Az())*360/D2PI; }
|
|---|
| 21 | // const RaDec GetRaDec() const { return fRaDec*360/D2PI; }
|
|---|
| 22 |
|
|---|
| 23 | virtual void SetMjd(const double mjd);
|
|---|
| 24 |
|
|---|
| 25 | void Set(const AltAz &altaz);
|
|---|
| 26 | void Set(const ZdAz &zdaz);
|
|---|
| 27 | void Set(const RaDec &radec);
|
|---|
| 28 |
|
|---|
| 29 | ZdAz GetApproxVel(const RaDec &radec) const; // [rad/rad];
|
|---|
| 30 |
|
|---|
| 31 | RaDec CalcRaDec(const AltAz &altaz) const;
|
|---|
| 32 | RaDec CalcRaDec(const ZdAz &altaz) const;
|
|---|
| 33 |
|
|---|
| 34 | AltAz CalcAltAz(const RaDec &radec) const;
|
|---|
| 35 | ZdAz CalcZdAz (const RaDec &radec) const;
|
|---|
| 36 | };
|
|---|
| 37 |
|
|---|
| 38 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.