Changeset 920 for trunk/MagicSoft/Cosy/catalog
- Timestamp:
- 08/29/01 16:44:38 (23 years ago)
- Location:
- trunk/MagicSoft/Cosy/catalog
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/catalog/SlaStars.cc
r912 r920 107 107 return AltAz(DPI/2-zdaz.Zd(), zdaz.Az()); 108 108 } 109 110 ZdAz SlaStars::GetApproxVel(const RaDec &radec) const // [rad/rad] 111 { 112 double az, vaz, aaz; 113 double el, vel, ael; 114 double pa, vpa, apa; 115 slaAltaz(GetAlpha()-radec.Ra(), radec.Dec(), GetPhi(), 116 &az, &vaz, &aaz, 117 &el, &vel, &ael, 118 &pa, &vpa, &apa); 119 120 return ZdAz(-vel, vaz); 121 } -
trunk/MagicSoft/Cosy/catalog/SlaStars.h
r912 r920 27 27 void Set(const RaDec &radec); 28 28 29 ZdAz GetApproxVel(const RaDec &radec) const; // [rad/rad]; 30 29 31 RaDec CalcRaDec(const AltAz &altaz) const; 30 32 RaDec CalcRaDec(const ZdAz &altaz) const;
Note:
See TracChangeset
for help on using the changeset viewer.