IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 10, 2005, 9:47:11 AM (22 years ago)
Author:
gusciora
Message:

...

File:
1 edited

Legend:

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

    r2933 r2941  
    1010*  @author GLG, MHPCC
    1111*
    12 *  @version $Revision: 1.43 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2005-01-08 00:13:07 $
     12*  @version $Revision: 1.44 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2005-01-10 19:47:10 $
    1414*
    1515*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    426426        proj.type = PS_PROJ_TAN;
    427427
     428        printf("------------ position 1 is (%f, %f)\n", position1->r, position1->d);
     429        printf("------------ position 2 is (%f, %f)\n", position2->r, position2->d);
     430        lin = psProject(position1, &proj);
     431        printf("------------ projected position 1 is (%f, %f)\n", lin->y, lin->x);
    428432        lin = psProject(position2, &proj);
     433        printf("------------ projected position 2 is (%f, %f)\n", lin->y, lin->x);
    429434        tmp = psDeproject(lin, &proj);
     435        printf("------------ deprojected position 2 is (%f, %f)\n", tmp->r, tmp->d);
     436
    430437        psFree(lin);
    431438
Note: See TracChangeset for help on using the changeset viewer.