IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 23, 2005, 1:54:43 PM (20 years ago)
Author:
gusciora
Message:

....

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psConstants.h

    r5586 r5588  
    66 *  @author GLG, MHPCC
    77 *
    8  *  @version $Revision: 1.80 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2005-11-23 21:18:12 $
     8 *  @version $Revision: 1.81 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2005-11-23 23:54:43 $
    1010 *
    1111 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    592592
    593593#define PS_POLY_PRINT_1D(NAME) \
     594printf("Poly %s: (nX) is (%d)\n", #NAME, NAME->nX);\
    594595for (psS32 i = 0 ; i < NAME->nX+1 ; i++) {\
    595596    printf("%s->coeff[%d] is %f\n", #NAME, i, NAME->coeff[i]); \
     
    597598
    598599#define PS_POLY_PRINT_2D(NAME) \
     600printf("Poly %s: (nX, nY) is (%d, %d)\n", #NAME, NAME->nX, NAME->nY);\
    599601for (psS32 i = 0 ; i < NAME->nX+1 ; i++) {\
    600602    for (psS32 j = 0 ; j < NAME->nY+1 ; j++) {\
     
    602604    }\
    603605}\
     606
     607#define PS_PRINT_PLANE_TRANSFORM(NAME) \
     608{ \
     609    printf("---------------------- Plane Transform ----------------------\n"); \
     610    printf("x:\n"); \
     611    PS_POLY_PRINT_2D(NAME->x); \
     612    printf("y:\n"); \
     613    PS_POLY_PRINT_2D(NAME->y); \
     614} \
     615
    604616
    605617/*****************************************************************************
Note: See TracChangeset for help on using the changeset viewer.