Changeset 295
- Timestamp:
- Mar 23, 2004, 5:32:43 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/include/psPosition.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psPosition.h
r282 r295 48 48 49 49 /** apply the coordinate transformation to the given coordinate */ 50 psCoord *psCoordXformApply (psCoordXform *frame, ///< coordinate transformation 51 psCoord *coords) ///< input coordiate 52 ; 50 psCoord *psCoordXformApply (psCoord *out, //!< Output coordinates, or NULL 51 const psCoordXform *frame, ///< coordinate transformation 52 const psCoord *coords ///< input coordiate 53 ); 53 54 54 55 /** 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 ; 56 psCoord *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 ); 60 62 61 63 /** Get offset (RA,Dec) on the sky between two positions position1 and position2 may not be identical */ … … 77 79 /** Get Sun Position */ 78 80 psCoord * 79 psGetSunPos(float mjd )//!< MJD to get position for80 ;81 psGetSunPos(float mjd //!< MJD to get position for 82 ); 81 83 82 84 /** Get Moon position */ … … 84 86 psGetMoonPos(float mjd, //!< MJD to get position for 85 87 double latitude, //!< Latitude for apparent position 86 double longitude )//!< Longitude for apparent position87 ;88 double longitude //!< Longitude for apparent position 89 ); 88 90 89 91 /** Get Moon phase */ 90 92 float 91 psGetMoonPhase(float mjd )//!< MJD to get phase for92 ;93 psGetMoonPhase(float mjd //!< MJD to get phase for 94 ); 93 95 94 96 /** Get Planet positions */ 95 97 psCoord * 96 psGetSolarSystemPos(c har *solarSystemObject, //!< Named S.S. object97 float mjd )//!< MJD to get position for98 ;98 psGetSolarSystemPos(const char *solarSystemObject, //!< Named S.S. object 99 float mjd //!< MJD to get position for 100 ); 99 101 100 102 /***********************************************************************************************************/ … … 104 106 /** Convert ICRS to Ecliptic */ 105 107 psCoord * 106 psCoordinatesItoE(const psCoord *restrict coordinates )//!< ICRS coordinates to convert107 ;108 psCoordinatesItoE(const psCoord *restrict coordinates //!< ICRS coordinates to convert 109 ); 108 110 109 111 /** Convert Ecliptic to ICRS */ 110 112 psCoord * 111 psCoordinatesEtoI(const psCoord *restrict coordinates )//!< Ecliptic coordinates to convert112 ;113 psCoordinatesEtoI(const psCoord *restrict coordinates //!< Ecliptic coordinates to convert 114 ); 113 115 114 116 /** Convert ICRS to Galactic */ 115 117 psCoord * 116 psCoordinatesItoG(const psCoord *restrict coordinates )//!< ICRS coordinates to convert117 ;118 psCoordinatesItoG(const psCoord *restrict coordinates //!< ICRS coordinates to convert 119 ); 118 120 119 121 /** Convert Galactic to ICRS */ 120 122 psCoord * 121 psCoordinatesGtoI(const psCoord *restrict coordinates )//!< Galactic coordinates to convert122 ;123 psCoordinatesGtoI(const psCoord *restrict coordinates //!< Galactic coordinates to convert 124 ); 123 125 124 126 /***********************************************************************************************************/
Note:
See TracChangeset
for help on using the changeset viewer.
