Changeset 7382 for trunk/psModules/src/camera/pmHDUGenerate.c
- Timestamp:
- Jun 6, 2006, 5:27:52 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmHDUGenerate.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmHDUGenerate.c
r7288 r7382 6 6 #include "pmHDU.h" 7 7 #include "pmHDUUtils.h" 8 #include "psRegionIsBad.h"9 8 10 9 #include "pmHDUGenerate.h" … … 66 65 while ((cell = psListGetAndIncrement(cellsIter))) { 67 66 psRegion *trimsec = psMetadataLookupPtr(&mdok, cell->concepts, "CELL.TRIMSEC"); // Trim section 68 if (mdok && trimsec && !psRegionIs Bad(*trimsec)) {67 if (mdok && trimsec && !psRegionIsNaN(*trimsec)) { 69 68 *xSize = PS_MAX(trimsec->x1, *xSize); 70 69 *ySize = PS_MAX(trimsec->y1, *ySize); … … 78 77 psRegion *biassec = NULL; // The bias section 79 78 while ((biassec = psListGetAndIncrement(biassecsIter))) { 80 if (!psRegionIs Bad(*trimsec)) {79 if (!psRegionIsNaN(*trimsec)) { 81 80 *xSize = PS_MAX(biassec->x1, *xSize); 82 81 *ySize = PS_MAX(biassec->y1, *ySize);
Note:
See TracChangeset
for help on using the changeset viewer.
