IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5552 for trunk/psModules/src


Ignore:
Timestamp:
Nov 18, 2005, 2:55:18 PM (21 years ago)
Author:
gusciora
Message:

Replaced psVectorCopy()

Location:
trunk/psModules/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/astrom/pmAstrometry.c

    r5543 r5552  
    88*  @author GLG, MHPCC
    99*
    10 *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
    11 *  @date $Date: 2005-11-18 19:43:14 $
     10*  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
     11*  @date $Date: 2005-11-19 00:55:18 $
    1212*
    1313*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    498498    return(p_psDeproject(outSphere, tpCoord, projection));
    499499}
     500/*****************************************************************************
     501XXX: What about units for the (x,y) coords?
     502 
     503XXX: This has not been tested.
     504 *****************************************************************************/
     505psPlane* pmCoordSkyToTP(
     506    psPlane* tpCoord,
     507    const psSphere* in,
     508    const psProjection *projection)
     509{
     510    PS_ASSERT_PTR_NON_NULL(in, NULL);
     511    PS_ASSERT_PTR_NON_NULL(projection, NULL);
     512
     513    return(p_psProject(tpCoord, in, projection));
     514}
    500515
    501516
     
    558573             "WARNING: psCoordCellToSkyQuick(): This function is not fully specified in the SDRS.  Returning NULL.\n");
    559574    return(NULL);
    560 }
    561 
    562 
    563 /*****************************************************************************
    564 XXX: What about units for the (x,y) coords?
    565  
    566 XXX: This has not been tested.
    567  *****************************************************************************/
    568 psPlane* pmCoordSkyToTP(
    569     psPlane* tpCoord,
    570     const psSphere* in,
    571     const psProjection *projection)
    572 {
    573     PS_ASSERT_PTR_NON_NULL(in, NULL);
    574     PS_ASSERT_PTR_NON_NULL(projection, NULL);
    575 
    576     return(p_psProject(tpCoord, in, projection));
    577575}
    578576
  • trunk/psModules/src/imsubtract/pmSubtractBias.c

    r5516 r5552  
    66 *  @author GLG, MHPCC
    77 *
    8  *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2005-11-15 20:09:03 $
     8 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2005-11-19 00:55:18 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    304304    }
    305305
    306     out->knots = psVectorCopy(out->knots, in->knots, in->knots->type.type);
     306    // XXX: use psVectorCopy if they get it working.
     307    out->knots = psVectorAlloc(in->knots->n, in->knots->type.type);
     308    for (psS32 i = 0 ; i < in->knots->n ; i++) {
     309        out->knots->data.F32[i] = in->knots->data.F32[i];
     310    }
     311    /*
     312        out->knots = psVectorCopy(out->knots, in->knots, in->knots->type.type);
     313    */
    307314
    308315    out->p_psDeriv2 = (psF32 *) psAlloc((in->n + 1) * sizeof(psF32));
     
    11841191    if (overscan == true) {
    11851192        pmOverscanAxis overScanAxis = GetOverscanAxis(in);
    1186 
    11871193        //
    11881194        //  Create a psStats data structure and determine the highest
Note: See TracChangeset for help on using the changeset viewer.