IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 24, 2005, 2:38:00 PM (21 years ago)
Author:
drobbin
Message:

Fixed psSphereOps except for Galactic transformation at the pole.

File:
1 edited

Legend:

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

    r5437 r5444  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-10-21 02:14:02 $
     9 *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-10-25 00:38:00 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    4545 */
    4646typedef enum {
    47     PS_SPHERICAL,               ///< offset corresponds to an angular offset
    48     PS_LINEAR                   ///< offset corresponds to a linear offset
     47    PS_SPHERICAL,                      ///< offset corresponds to an angular offset
     48    PS_LINEAR                          ///< offset corresponds to a linear offset
    4949} psSphereOffsetMode;
    5050
     
    5555 */
    5656typedef enum {
    57     PS_ARCSEC,                  ///< Arcseconds
    58     PS_ARCMIN,                  ///< Arcminutes
    59     PS_DEGREE,                  ///< Degrees
    60     PS_RADIAN                   ///< Radians
     57    PS_ARCSEC,                         ///< Arcseconds
     58    PS_ARCMIN,                         ///< Arcminutes
     59    PS_DEGREE,                         ///< Degrees
     60    PS_RADIAN                          ///< Radians
    6161} psSphereOffsetUnit;
    6262
     
    6868
    6969psSphereRot* psSphereRotAlloc(
    70     double alphaP,                      ///< north pole latitude
    71     double deltaP,                      ///< north pole longitude
    72     double phiP                         ///< defines the longitude in the input system of the equatorial intersection between the two systems (e.g, the first point of Ares).
     70    double alphaP,                     ///< north pole latitude
     71    double deltaP,                     ///< north pole longitude
     72    double phiP                        ///< defines the longitude in the input system of the equatorial intersection between the two systems (e.g, the first point of Ares).
    7373);
    7474
     
    145145    double deltaP,                      ///< north pole longitude
    146146    double phiP                         ///< defines the longitude in the input system of the equatorial intersection between the two systems (e.g, the first point of Ares).
    147 );
    148 
    149 /** Converts a psCube to a psSphere
    150  *
    151  *  @return psSphere*       New psSphere that is equivalent to the input psCube
    152  *
    153  */
    154 psSphere* psCubeToSphere(
    155     const psCube* cube                 ///< a cubic coordinate to convert
    156 );
    157 
    158 /** Converts a psSphere to a psCube
    159  *
    160  *  @return psCube*       New psCube that is equivalent to the input psSphere
    161  *
    162  */
    163 psCube* psSphereToCube(
    164     const psSphere* sphere             ///< a spherical coordinate to convert
    165147);
    166148
Note: See TracChangeset for help on using the changeset viewer.