IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 4, 2004, 1:37:39 PM (22 years ago)
Author:
desonia
Message:

found the server astyle upgrade was faulty, so the format was reset.

File:
1 edited

Legend:

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

    r1374 r1385  
    1010*  @author George Gusciora, MHPCC
    1111*
    12 *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2004-08-04 00:55:17 $
     12*  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2004-08-04 23:37:39 $
    1414*
    1515*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3030
    3131typedef struct
    32     {
    33         double x;      ///< x position
    34         double y;      ///< y position
    35         double xErr;   ///< Error in x position
    36         double yErr;   ///< Error in y position
    37     }
     32{
     33    double x;      ///< x position
     34    double y;      ///< y position
     35    double xErr;   ///< Error in x position
     36    double yErr;   ///< Error in y position
     37}
    3838psPlane;
    3939
    4040typedef struct
    41     {
    42         double r;      ///< RA
    43         double d;      ///< Dec
    44         double rErr;   ///< Error in RA
    45         double dErr;   ///< Error in Dec
    46     }
     41{
     42    double r;      ///< RA
     43    double d;      ///< Dec
     44    double rErr;   ///< Error in RA
     45    double dErr;   ///< Error in Dec
     46}
    4747psSphere;
    4848
    4949typedef struct
    50     {
    51         psDPolynomial2D *x;
    52         psDPolynomial2D *y;
    53     }
     50{
     51    psDPolynomial2D *x;
     52    psDPolynomial2D *y;
     53}
    5454psPlaneTransform;
    5555
    5656typedef struct
    57     {
    58         psDPolynomial4D *x;
    59         psDPolynomial4D *y;
    60     }
     57{
     58    psDPolynomial4D *x;
     59    psDPolynomial4D *y;
     60}
    6161psPlaneDistort;
    6262
    6363typedef struct
    64     {
    65         double sinPhi;                    ///< sin of North Pole lattitude
    66         double cosPhi;                    ///< cos of North Pole lattitude
    67         double Xo;                        ///< First PT of Ares lon
    68         double xo;                        ///< First PT of Ares equiv lon
    69     }
     64{
     65    double sinPhi;                    ///< sin of North Pole lattitude
     66    double cosPhi;                    ///< cos of North Pole lattitude
     67    double Xo;                        ///< First PT of Ares lon
     68    double xo;                        ///< First PT of Ares equiv lon
     69}
    7070psSphereTransform;
    7171
     
    8282
    8383typedef struct
    84     {
    85         double R;     ///< Coordinates of projection center
    86         double D;     ///< Coordinates of projection center
    87         double Xs;    ///< plate-scale in X direction
    88         double Ys;    ///< plate-scale in Y direction
    89         psProjectionType type;  ///< Projection type
    90     }
     84{
     85    double R;     ///< Coordinates of projection center
     86    double D;     ///< Coordinates of projection center
     87    double Xs;    ///< plate-scale in X direction
     88    double Ys;    ///< plate-scale in Y direction
     89    psProjectionType type;  ///< Projection type
     90}
    9191psProjection;
    9292
     
    106106                                const psPlaneTransform *transform,
    107107                                const psPlane *coords );
    108                                
     108
    109109psPlane *psPlaneDistortApply( psPlane *out,
    110110                              const psPlaneDistort *transform,
     
    112112                              float term3,
    113113                              float term4 );
    114                              
    115                              
     114
     115
    116116// New function prototype.
    117117psSphereTransform *psSphereTransformAlloc( double NPlat,
    118118        double Xo,
    119119        double xo );
    120        
     120
    121121void p_psSphereTransformFree( psSphereTransform *trans );
    122122
     
    124124                                  const psSphereTransform *transform,
    125125                                  const psSphere *coord );
    126                                  
     126
    127127psSphereTransform *psSphereTransformICRStoEcliptic( psTime time );
    128128psSphereTransform *psSphereTransformEcliptictoICRS( psTime time );
     
    132132psPlane *psProject( const psSphere *coord,
    133133                    const psProjection *projection );
    134                    
     134
    135135psSphere *psDeproject( const psPlane *coord,
    136136                       const psProjection *projection );
    137                        
     137
    138138psSphere *psSphereGetOffset( const psSphere *restrict position1,
    139139                             const psSphere *restrict position2,
    140140                             psSphereOffsetMode mode,
    141141                             psSphereOffsetUnit unit );
    142                              
     142
    143143psSphere *psSphereSetOffset( const psSphere *restrict position,
    144144                             const psSphere *restrict offset,
    145145                             psSphereOffsetMode mode,
    146146                             psSphereOffsetUnit unit );
    147                              
     147
    148148/// @}
    149149
Note: See TracChangeset for help on using the changeset viewer.