- Timestamp:
- 10/21/10 11:15:34 (14 years ago)
- Location:
- trunk/Cosy/catalog
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cosy/catalog/SlaPlanets.cc
r9523 r10021 33 33 // coordinates of planet: topocentric, equatorial, J2000 34 34 // 35 RaDec SlaPlanets::CalcPlanetRaDec(ePlanets_t planet) 35 RaDec SlaPlanets::CalcPlanetRaDec(ePlanets_t planet) const 36 36 { 37 37 // coordinates of planet: topocentric, equatorial, J2000 … … 42 42 slaRdplan(GetTT(), planet, GetElong(), GetPhi(), &ra, &dec, &diam); 43 43 44 return RaDec(ra, dec); 44 // 45 // ---- apparent to mean ---- 46 // 47 // This is a stupid workaround because SlaStars assumes 48 // RA/DEC to be mean values rather than apparent 49 // 50 double rm=0, dm=0; 51 slaAmpqk (ra, dec, (double*)fAmprms, &rm, &dm); 52 53 return RaDec(rm, dm); 45 54 } 46 55 -
trunk/Cosy/catalog/SlaPlanets.h
r9523 r10021 40 40 void SetMjd(double mjd); 41 41 42 RaDec CalcPlanetRaDec(ePlanets_t planet) ;42 RaDec CalcPlanetRaDec(ePlanets_t planet) const; 43 43 void UpdatePlanetPos(ePlanets_t planet); 44 44 ZdAz GetPlanetPos(ePlanets_t planet) const { return fZdAz[planet]; }
Note:
See TracChangeset
for help on using the changeset viewer.