IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 6, 2006, 5:27:52 PM (20 years ago)
Author:
Paul Price
Message:

Moving additional pslib functions over to psLib proper. Some API changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmHDUGenerate.c

    r7288 r7382  
    66#include "pmHDU.h"
    77#include "pmHDUUtils.h"
    8 #include "psRegionIsBad.h"
    98
    109#include "pmHDUGenerate.h"
     
    6665    while ((cell = psListGetAndIncrement(cellsIter))) {
    6766        psRegion *trimsec = psMetadataLookupPtr(&mdok, cell->concepts, "CELL.TRIMSEC"); // Trim section
    68         if (mdok && trimsec && !psRegionIsBad(*trimsec)) {
     67        if (mdok && trimsec && !psRegionIsNaN(*trimsec)) {
    6968            *xSize = PS_MAX(trimsec->x1, *xSize);
    7069            *ySize = PS_MAX(trimsec->y1, *ySize);
     
    7877            psRegion *biassec = NULL;   // The bias section
    7978            while ((biassec = psListGetAndIncrement(biassecsIter))) {
    80                 if (!psRegionIsBad(*trimsec)) {
     79                if (!psRegionIsNaN(*trimsec)) {
    8180                    *xSize = PS_MAX(biassec->x1, *xSize);
    8281                    *ySize = PS_MAX(biassec->y1, *ySize);
Note: See TracChangeset for help on using the changeset viewer.