IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 11, 2004, 3:32:21 PM (22 years ago)
Author:
gusciora
Message:

...

File:
1 edited

Legend:

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

    r1491 r1497  
    1010*  @author George Gusciora, MHPCC
    1111*
    12 *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2004-08-11 23:53:54 $
     12*  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2004-08-12 01:32:21 $
    1414*
    1515*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    7676
    7777// This function prototype has been modified since the SDRS.
    78 psSphereTransform* psSphereTransformAlloc(double NPlat, double Xo, double xo)
     78psSphereTransform* psSphereTransformAlloc(double NPlat,
     79        double Xo,
     80        double xo)
    7981{
    8082    psSphereTransform* tmp = (psSphereTransform* ) psAlloc(sizeof(psSphereTransform));
     
    9597// there are no typo's.
    9698
    97 psSphere* psSphereTransformApply(psSphere* out, const psSphereTransform* transform, const psSphere* coord)
     99psSphere* psSphereTransformApply(psSphere* out,
     100                                 const psSphereTransform* transform,
     101                                 const psSphere* coord)
    98102{
    99103    double sinY = 0.0;
     
    164168
    165169// This is some kind of arc tan function.
    166 float arg(float x, float y)
     170float arg(float x,
     171          float y)
    167172{
    168173    if (x > 0) {
     
    184189// XXX: Waiting for the definition of the PS_PROJ_PAR projection.
    185190// XXX: Waiting for the definition of the PS_PROJ_GLS projection.
    186 psPlane* psProject(const psSphere* coord, const psProjection* projection)
     191psPlane* psProject(const psSphere* coord,
     192                   const psProjection* projection)
    187193{
    188194    float R = 0.0;
     
    226232// XXX: Waiting for the definition of the PS_PROJ_PAR projection.
    227233// XXX: Waiting for the definition of the PS_PROJ_GLS projection.
    228 psSphere* psDeproject(const psPlane* coord, const psProjection* projection)
     234psSphere* psDeproject(const psPlane* coord,
     235                      const psProjection* projection)
    229236{
    230237    float R = 0.0;
     
    275282psSphere* psSphereGetOffset(const psSphere* restrict position1,
    276283                            const psSphere* restrict position2,
    277                             psSphereOffsetMode mode, psSphereOffsetUnit unit)
     284                            psSphereOffsetMode mode,
     285                            psSphereOffsetUnit unit)
    278286{
    279287    // psPlane* lin;
     
    336344psSphere* psSphereSetOffset(const psSphere* restrict position,
    337345                            const psSphere* restrict offset,
    338                             psSphereOffsetMode mode, psSphereOffsetUnit unit)
     346                            psSphereOffsetMode mode,
     347                            psSphereOffsetUnit unit)
    339348{
    340349    psPlane lin;
Note: See TracChangeset for help on using the changeset viewer.