IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5816


Ignore:
Timestamp:
Dec 19, 2005, 7:20:50 PM (21 years ago)
Author:
drobbin
Message:

Cosmetic change of n1, etc... to order1, etc...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astro/psCoord.c

    r5813 r5816  
    1010*  @author GLG, MHPCC
    1111*
    12 *  @version $Revision: 1.97 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2005-12-19 23:58:47 $
     12*  @version $Revision: 1.98 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2005-12-20 05:20:50 $
    1414*
    1515*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    206206
    207207// XXX: Verify the order/nterms poly changes
    208 psPlaneTransform* psPlaneTransformAlloc(int n1, int n2)
    209 {
    210     PS_ASSERT_INT_NONNEGATIVE(n1, NULL);
    211     PS_ASSERT_INT_NONNEGATIVE(n2, NULL);
     208psPlaneTransform* psPlaneTransformAlloc(int order1, int order2)
     209{
     210    PS_ASSERT_INT_NONNEGATIVE(order1, NULL);
     211    PS_ASSERT_INT_NONNEGATIVE(order2, NULL);
    212212
    213213    psPlaneTransform *pt = psAlloc(sizeof(psPlaneTransform));
    214     pt->x = psPolynomial2DAlloc(n1, n2, PS_POLYNOMIAL_ORD);
    215     pt->y = psPolynomial2DAlloc(n1, n2, PS_POLYNOMIAL_ORD);
     214    pt->x = psPolynomial2DAlloc(order1, order2, PS_POLYNOMIAL_ORD);
     215    pt->y = psPolynomial2DAlloc(order1, order2, PS_POLYNOMIAL_ORD);
    216216
    217217    psMemSetDeallocator(pt, (psFreeFunc) planeTransformFree);
     
    267267
    268268// XXX: Verify the order/nterms poly changes
    269 psPlaneDistort* psPlaneDistortAlloc(int n1, int n2, int n3, int n4)
    270 {
    271     PS_ASSERT_INT_NONNEGATIVE(n1, NULL);
    272     PS_ASSERT_INT_NONNEGATIVE(n2, NULL);
    273     PS_ASSERT_INT_NONNEGATIVE(n3, NULL);
    274     PS_ASSERT_INT_NONNEGATIVE(n4, NULL);
     269psPlaneDistort* psPlaneDistortAlloc(int order1, int order2, int order3, int order4)
     270{
     271    PS_ASSERT_INT_NONNEGATIVE(order1, NULL);
     272    PS_ASSERT_INT_NONNEGATIVE(order2, NULL);
     273    PS_ASSERT_INT_NONNEGATIVE(order3, NULL);
     274    PS_ASSERT_INT_NONNEGATIVE(order4, NULL);
    275275
    276276    psPlaneDistort *pt = psAlloc(sizeof(psPlaneDistort));
    277     pt->x = psPolynomial4DAlloc(n1, n2, n3, n4, PS_POLYNOMIAL_ORD);
    278     pt->y = psPolynomial4DAlloc(n1, n2, n3, n4, PS_POLYNOMIAL_ORD);
     277    pt->x = psPolynomial4DAlloc(order1, order2, order3, order4, PS_POLYNOMIAL_ORD);
     278    pt->y = psPolynomial4DAlloc(order1, order2, order3, order4, PS_POLYNOMIAL_ORD);
    279279
    280280    psMemSetDeallocator(pt, (psFreeFunc) planeDistortFree);
Note: See TracChangeset for help on using the changeset viewer.