Changeset 9554 for trunk/MagicSoft/Cosy/catalog
- Timestamp:
- 02/25/10 11:26:20 (15 years ago)
- Location:
- trunk/MagicSoft/Cosy/catalog
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/catalog/SlaStars.cc
r9550 r9554 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;29 23 fRaDec = CalcRaDec(fAltAz); 30 24 } -
trunk/MagicSoft/Cosy/catalog/SlaStars.h
r9550 r9554 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 66 63 ClassDef(SlaStars, 0) 67 64 };
Note:
See TracChangeset
for help on using the changeset viewer.