IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 295


Ignore:
Timestamp:
Mar 23, 2004, 5:32:43 PM (22 years ago)
Author:
Paul Price
Message:

Added output arguments for the Applys.
Formatting changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/include/psPosition.h

    r282 r295  
    4848
    4949/** apply the coordinate transformation to the given coordinate */
    50 psCoord *psCoordXformApply (psCoordXform *frame, ///< coordinate transformation
    51                             psCoord *coords) ///< input coordiate
    52 ;
     50psCoord *psCoordXformApply (psCoord *out, //!< Output coordinates, or NULL
     51                            const psCoordXform *frame, ///< coordinate transformation
     52                            const psCoord *coords ///< input coordiate
     53    );
    5354
    5455/** apply the optical distortion to the given coordinate, magnitude, color */
    55 psCoord *psDistortionApply (psDistortion *pattern, ///< optical distortion pattern
    56 psCoord *coords,                        ///< input coordinate
    57 float mag,                              ///< magnitude of object
    58 float color)                            ///< color of object
    59 ;
     56psCoord *psDistortionApply (psCoord *out, //!< Output coordinates, or NULL
     57                            const psdistortion *pattern, ///< optical distortion pattern
     58                            const psCoord *coords, ///< input coordinate
     59                            float mag,  ///< magnitude of object
     60                            float color ///< color of object
     61    );
    6062
    6163/** Get offset (RA,Dec) on the sky between two positions position1 and position2 may not be identical */
     
    7779/** Get Sun Position */
    7880psCoord *
    79 psGetSunPos(float mjd)                  //!< MJD to get position for
    80 ;
     81psGetSunPos(float mjd                   //!< MJD to get position for
     82    );
    8183
    8284/** Get Moon position */
     
    8486psGetMoonPos(float mjd,                 //!< MJD to get position for
    8587             double latitude,           //!< Latitude for apparent position
    86              double longitude)          //!< Longitude for apparent position
    87 ;
     88             double longitude           //!< Longitude for apparent position
     89    );
    8890
    8991/** Get Moon phase */
    9092float
    91 psGetMoonPhase(float mjd)               //!< MJD to get phase for
    92 ;
     93psGetMoonPhase(float mjd                //!< MJD to get phase for
     94    );
    9395
    9496/** Get Planet positions */
    9597psCoord *
    96 psGetSolarSystemPos(char *solarSystemObject, //!< Named S.S. object
    97                     float mjd)          //!< MJD to get position for
    98 ;
     98psGetSolarSystemPos(const char *solarSystemObject, //!< Named S.S. object
     99                    float mjd           //!< MJD to get position for
     100    );
    99101
    100102/***********************************************************************************************************/
     
    104106/** Convert ICRS to Ecliptic */
    105107psCoord *
    106 psCoordinatesItoE(const psCoord *restrict coordinates) //!< ICRS coordinates to convert
    107 ;
     108psCoordinatesItoE(const psCoord *restrict coordinates //!< ICRS coordinates to convert
     109    );
    108110
    109111/** Convert Ecliptic to ICRS */
    110112psCoord *
    111 psCoordinatesEtoI(const psCoord *restrict coordinates) //!< Ecliptic coordinates to convert
    112 ;
     113psCoordinatesEtoI(const psCoord *restrict coordinates //!< Ecliptic coordinates to convert
     114    );
    113115
    114116/** Convert ICRS to Galactic */
    115117psCoord *
    116 psCoordinatesItoG(const psCoord *restrict coordinates) //!< ICRS coordinates to convert
    117 ;
     118psCoordinatesItoG(const psCoord *restrict coordinates //!< ICRS coordinates to convert
     119    );
    118120
    119121/** Convert Galactic to ICRS */
    120122psCoord *
    121 psCoordinatesGtoI(const psCoord *restrict coordinates) //!< Galactic coordinates to convert
    122 ;
     123psCoordinatesGtoI(const psCoord *restrict coordinates //!< Galactic coordinates to convert
     124    );
    123125
    124126/***********************************************************************************************************/
Note: See TracChangeset for help on using the changeset viewer.