Changeset 9550 for trunk/MagicSoft/Cosy/catalog
- Timestamp:
- 02/23/10 10:17:52 (15 years ago)
- Location:
- trunk/MagicSoft/Cosy/catalog
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/catalog/SlaStars.cc
r9523 r9550 21 21 { 22 22 fAltAz = AltAz(TMath::Pi()/2-zdaz.Zd(), zdaz.Az()) * TMath::DegToRad(); 23 fRaDec = CalcRaDec(fAltAz); 24 } 25 26 void SlaStars::ApplyOffsetAltAz(const AltAz &offset) 27 { 28 fAltAz += offset; 23 29 fRaDec = CalcRaDec(fAltAz); 24 30 } -
trunk/MagicSoft/Cosy/catalog/SlaStars.h
r9523 r9550 61 61 ZdAz CalcZdAzFast (const RaDec &radec) const; 62 62 63 void ApplyOffsetAltAz(const AltAz &offset); 64 void ApplyOffsetZdAz(const ZdAz &offset) { ApplyOffsetAltAz(AltAz(-offset.Zd(), offset.Az())); } 65 63 66 ClassDef(SlaStars, 0) 64 67 };
Note:
See TracChangeset
for help on using the changeset viewer.