IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 2970


Ignore:
Timestamp:
Jan 12, 2005, 5:26:23 PM (22 years ago)
Author:
evanalst
Message:

Updated the psRegion type and psRegionAlloc function.

Location:
trunk/psLib/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/image/psImage.c

    r2879 r2970  
    99 *  @author Ross Harman, MHPCC
    1010 *
    11  *  @version $Revision: 1.56 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-01-04 02:34:57 $
     11 *  @version $Revision: 1.57 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-01-13 03:26:23 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    101101}
    102102
    103 psRegion* psRegionAlloc(double x0,
    104                         double x1,
    105                         double y0,
    106                         double y1)
     103psRegion* psRegionAlloc(psF32 x0,
     104                        psF32 x1,
     105                        psF32 y0,
     106                        psF32 y1)
    107107{
    108108    psRegion* out = psAlloc(sizeof(psRegion));
  • trunk/psLib/src/image/psImage.h

    r2879 r2970  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.44 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2005-01-04 02:34:57 $
     13 *  @version $Revision: 1.45 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-01-13 03:26:23 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    8282typedef struct
    8383{
    84     double x0;                         ///< the first column of the region.
    85     double x1;                         ///< the last column of the region.
    86     double y0;                         ///< the first row of the region.
    87     double y1;                         ///< the last row of the region.
     84    psF32 x0;                         ///< the first column of the region.
     85    psF32 x1;                         ///< the last column of the region.
     86    psF32 y0;                         ///< the first row of the region.
     87    psF32 y1;                         ///< the last row of the region.
    8888}
    8989psRegion;
     
    112112 */
    113113psRegion* psRegionAlloc(
    114     double x0,                         ///< the first column of the region.
    115     double x1,                         ///< the last column of the region.
    116     double y0,                         ///< the first row of the region.
    117     double y1                          ///< the last row of the region.
     114    psF32 x0,                         ///< the first column of the region.
     115    psF32 x1,                         ///< the last column of the region.
     116    psF32 y0,                         ///< the first row of the region.
     117    psF32 y1                          ///< the last row of the region.
    118118);
    119119
  • trunk/psLib/src/mathtypes/psImage.c

    r2879 r2970  
    99 *  @author Ross Harman, MHPCC
    1010 *
    11  *  @version $Revision: 1.56 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-01-04 02:34:57 $
     11 *  @version $Revision: 1.57 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-01-13 03:26:23 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    101101}
    102102
    103 psRegion* psRegionAlloc(double x0,
    104                         double x1,
    105                         double y0,
    106                         double y1)
     103psRegion* psRegionAlloc(psF32 x0,
     104                        psF32 x1,
     105                        psF32 y0,
     106                        psF32 y1)
    107107{
    108108    psRegion* out = psAlloc(sizeof(psRegion));
  • trunk/psLib/src/mathtypes/psImage.h

    r2879 r2970  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.44 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2005-01-04 02:34:57 $
     13 *  @version $Revision: 1.45 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-01-13 03:26:23 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    8282typedef struct
    8383{
    84     double x0;                         ///< the first column of the region.
    85     double x1;                         ///< the last column of the region.
    86     double y0;                         ///< the first row of the region.
    87     double y1;                         ///< the last row of the region.
     84    psF32 x0;                         ///< the first column of the region.
     85    psF32 x1;                         ///< the last column of the region.
     86    psF32 y0;                         ///< the first row of the region.
     87    psF32 y1;                         ///< the last row of the region.
    8888}
    8989psRegion;
     
    112112 */
    113113psRegion* psRegionAlloc(
    114     double x0,                         ///< the first column of the region.
    115     double x1,                         ///< the last column of the region.
    116     double y0,                         ///< the first row of the region.
    117     double y1                          ///< the last row of the region.
     114    psF32 x0,                         ///< the first column of the region.
     115    psF32 x1,                         ///< the last column of the region.
     116    psF32 y0,                         ///< the first row of the region.
     117    psF32 y1                          ///< the last row of the region.
    118118);
    119119
Note: See TracChangeset for help on using the changeset viewer.