IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10609


Ignore:
Timestamp:
Dec 10, 2006, 7:29:51 AM (19 years ago)
Author:
magnier
Message:

replaced p_psProject, p_psDeproject with psProject, psDeproject

Location:
trunk/psLib/src/astro
Files:
3 edited

Legend:

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

    r9730 r10609  
    1010*  @author GLG, MHPCC
    1111*
    12 *  @version $Revision: 1.126 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2006-10-24 22:52:55 $
     12*  @version $Revision: 1.127 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2006-12-10 17:29:29 $
    1414*
    1515*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    349349
    350350
    351 psPlane* p_psProject(
     351psPlane* psProject(
    352352    psPlane *outPlane,
    353353    const psSphere* coord,
     
    437437}
    438438
    439 psPlane* psProject(
    440     const psSphere* coord,
    441     const psProjection* projection)
    442 {
    443     return(p_psProject(NULL, coord, projection));
    444 }
    445 
    446 psSphere* p_psDeproject(
     439psSphere* psDeproject(
    447440    psSphere *outSphere,
    448441    const psPlane* coord,
     
    560553}
    561554
    562 psSphere* psDeproject(
    563     const psPlane* coord,
    564     const psProjection* projection)
    565 {
    566     return(p_psDeproject(NULL, coord, projection));
    567 }
    568 
    569 
    570555/*****************************************************************************
    571556multiplyDPoly2D(trans1, trans2): Takes two 2-D polynomials as input and
  • trunk/psLib/src/astro/psCoord.h

    r7934 r10609  
    1111 *  @author GLG, MHPCC
    1212 *
    13  *  @version $Revision: 1.53 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2006-07-18 22:50:47 $
     13 *  @version $Revision: 1.54 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2006-12-10 17:29:51 $
    1515 *
    1616 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    288288 */
    289289psPlane* psProject(
    290     const psSphere* coord,             ///< coordinate to project
    291     const psProjection* projection     ///< parameters of the projection
    292 );
    293 
    294 psPlane* p_psProject(
    295290    psPlane *out,
    296291    const psSphere* coord,             ///< coordinate to project
     
    303298 */
    304299psSphere* psDeproject(
    305     const psPlane* coord,              ///< coordinate to project
    306     const psProjection* projection     ///< parameters of the projection
    307 );
    308 
    309 /** Private reverse projection of a linear coordinate to a spherical coordinate system
    310  *
    311  *  @return psPlane*    projected coordinate
    312  */
    313 psSphere* p_psDeproject(
    314300    psSphere *outSphere,
    315301    const psPlane* coord,              ///< coordinate to project
  • trunk/psLib/src/astro/psSphereOps.c

    r9932 r10609  
    88 *  @author Dave Robbins, MHPCC
    99 *
    10  *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2006-11-09 23:26:04 $
     10 *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2006-12-10 17:29:51 $
    1212 *
    1313 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    335335                                               PS_PROJ_TAN);
    336336        // Perform projection onto tangent plane
    337         psPlane* lin = psProject(position2, proj);
     337        psPlane* lin = psProject(NULL, position2, proj);
    338338        // Set return values
    339339        tmp->r = lin->x;
     
    417417                                               PS_PROJ_TAN);
    418418        // Project tangent plane coord to spherical coord
    419         tmp = psDeproject(lin, proj);
     419        tmp = psDeproject(NULL, lin, proj);
    420420        // Free data structures used
    421421        psFree(proj);
Note: See TracChangeset for help on using the changeset viewer.