Changeset 1109 for trunk/MagicSoft/Cosy/catalog/Slalib.cc
- Timestamp:
- 12/12/01 13:09:24 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/catalog/Slalib.cc
r921 r1109 4 4 #include <iostream.h> // cout 5 5 6 #include "coord.h" 7 6 8 #include "slalib.h" 9 10 ClassImp(Slalib); 7 11 8 12 Slalib::Slalib() : Timer() … … 17 21 slaDaf2r( 9, 56, 36.0, &fElong, &status); 18 22 19 cout << "Latitude: 51\x9c 38'48.0\" = " << 360.0/D2PI*fPhi << " ";20 cout << "Longitude: 9\x9c 56'36.0\" = " << 360.0/D2PI*fElong << endl;23 cout << "Latitude: 51\x9c 38'48.0\" = " << kRad2Deg*fPhi << " "; 24 cout << "Longitude: 9\x9c 56'36.0\" = " << kRad2Deg*fElong << endl; 21 25 } 22 26 … … 64 68 slaDe2h(ha, dec, fPhi, &az, &alt); 65 69 66 return ZdAz( DPI/2-alt, az);70 return ZdAz(kPiDiv2-alt, az); 67 71 }
Note:
See TracChangeset
for help on using the changeset viewer.