Changeset 1790 in Sophya
- Timestamp:
- Nov 26, 2001, 6:49:42 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/ProcWSophya/toi2map.cc
r1789 r1790 3 3 // Christophe Magneville 4 4 // Reza Ansari 5 // $Id: toi2map.cc,v 1.1 7 2001-11-26 16:50:38aubourg Exp $5 // $Id: toi2map.cc,v 1.18 2001-11-26 17:49:42 aubourg Exp $ 6 6 7 7 #include "machdefs.h" … … 175 175 phi = coord1 * M_PI/12.; 176 176 } 177 178 if (coord2>90) coord2 -= 180; 179 if (coord2<-90) coord2 += 180; 180 if (phi<0) phi += 2*M_PI; 181 if (phi>=2*M_PI) phi -= 2*M_PI; 177 182 theta = (90.-coord2) * M_PI/180.; 178 183
Note:
See TracChangeset
for help on using the changeset viewer.