Changeset 25106
- Timestamp:
- Aug 18, 2009, 10:08:42 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/getstar/src/MatchCoords.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/getstar/src/MatchCoords.c
r24914 r25106 40 40 // Xi[4] = Xi[0]; Yi[4] = Yi[0]; 41 41 42 43 42 ymin = xmin = +FLT_MAX; 44 43 ymax = xmax = -FLT_MAX; … … 52 51 // transform input point to image coords 53 52 double x, y; 54 RD_to_XY(&x, &y, ra, dec, &dbImages[i].coords); 53 int status = RD_to_XY(&x, &y, ra, dec, &dbImages[i].coords); 54 55 if (!status) { 56 // avoid matching antipodal skycells 57 continue; 58 } 55 59 56 60 if ((x >= xmin && x <= xmax) && (y >= ymin && y <= ymax)) {
Note:
See TracChangeset
for help on using the changeset viewer.
