Ignore:
Timestamp:
02/23/10 10:17:52 (15 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy/catalog
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/catalog/SlaStars.cc

    r9523 r9550  
    2121{
    2222    fAltAz = AltAz(TMath::Pi()/2-zdaz.Zd(), zdaz.Az()) * TMath::DegToRad();
     23    fRaDec = CalcRaDec(fAltAz);
     24}
     25
     26void SlaStars::ApplyOffsetAltAz(const AltAz &offset)
     27{
     28    fAltAz += offset;
    2329    fRaDec = CalcRaDec(fAltAz);
    2430}
  • trunk/MagicSoft/Cosy/catalog/SlaStars.h

    r9523 r9550  
    6161    ZdAz   CalcZdAzFast (const RaDec &radec) const;
    6262
     63    void   ApplyOffsetAltAz(const AltAz &offset);
     64    void   ApplyOffsetZdAz(const ZdAz &offset) { ApplyOffsetAltAz(AltAz(-offset.Zd(), offset.Az())); }
     65
    6366    ClassDef(SlaStars, 0)
    6467};
Note: See TracChangeset for help on using the changeset viewer.