IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 27, 2006, 4:16:26 PM (20 years ago)
Author:
magnier
Message:

added HDU weights, masks; substantial work on the pmFPAfile,view concepts

Location:
branches/rel10_ifa/psModules/src/pslib
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/rel10_ifa/psModules/src/pslib/Makefile.am

    r6620 r6713  
    44libpsmodulepslib_la_LDFLAGS  = -release $(PACKAGE_VERSION)
    55libpsmodulepslib_la_SOURCES  = \
     6    psAdditionals.c \
    67    psEllipse.c \
    78    psImageJpeg.c \
     
    1415psmoduleincludedir = $(includedir)
    1516psmoduleinclude_HEADERS = \
     17    psAdditionals.h \
    1618    psEllipse.h \
    1719    psImageJpeg.h \
  • branches/rel10_ifa/psModules/src/pslib/psAdditionals.c

    r6530 r6713  
    22#include <strings.h>
    33#include "pslib.h"
    4 
    54#include "psAdditionals.h"
    6 
    75
    86psMetadata *pap_psMetadataCopy(psMetadata *out,
  • branches/rel10_ifa/psModules/src/pslib/psRegionIsBad.c

    r6620 r6713  
    77}
    88
     9bool psRegionIsNaN (psRegion region)
     10{
     11
     12    if (!isfinite(region.x0))
     13        return true;
     14    if (!isfinite(region.x1))
     15        return true;
     16    if (!isfinite(region.y0))
     17        return true;
     18    if (!isfinite(region.y1))
     19        return true;
     20    return false;
     21}
  • branches/rel10_ifa/psModules/src/pslib/psRegionIsBad.h

    r6620 r6713  
    66bool psRegionIsBad(const psRegion region);
    77
     8// test is any element of the region is not finite
     9bool psRegionIsNaN (psRegion region // test for this region
     10                   );
     11
    812#endif
Note: See TracChangeset for help on using the changeset viewer.