Changeset 344 for trunk/archive/pslib/include/psPosition.h
- Timestamp:
- Mar 31, 2004, 5:01:04 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/include/psPosition.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psPosition.h
r295 r344 13 13 typedef union { 14 14 struct { 15 double x; // !< x position16 double y; // !< y position17 double xErr; // !< Error in x position18 double yErr; // !< Error in y position15 double x; ///< x position 16 double y; ///< y position 17 double xErr; ///< Error in x position 18 double yErr; ///< Error in y position 19 19 } xy; 20 20 struct { 21 double r; // !< RA22 double d; // !< Dec23 double rErr; // !< Error in RA24 double dErr; // !< Error in Dec21 double r; ///< RA 22 double d; ///< Dec 23 double rErr; ///< Error in RA 24 double dErr; ///< Error in Dec 25 25 } rd; 26 26 } psCoord; … … 48 48 49 49 /** apply the coordinate transformation to the given coordinate */ 50 psCoord *psCoordXformApply (psCoord *out, // !< Output coordinates, or NULL50 psCoord *psCoordXformApply (psCoord *out, ///< Output coordinates, or NULL 51 51 const psCoordXform *frame, ///< coordinate transformation 52 52 const psCoord *coords ///< input coordiate … … 54 54 55 55 /** apply the optical distortion to the given coordinate, magnitude, color */ 56 psCoord *psDistortionApply (psCoord *out, // !< Output coordinates, or NULL56 psCoord *psDistortionApply (psCoord *out, ///< Output coordinates, or NULL 57 57 const psdistortion *pattern, ///< optical distortion pattern 58 58 const psCoord *coords, ///< input coordinate … … 63 63 /** Get offset (RA,Dec) on the sky between two positions position1 and position2 may not be identical */ 64 64 psCoord * 65 psGetOffset(const psCoord *restrict position1, // !< Position 166 const psCoord *restrict position2, // !< Position 267 const char *type // !< Type of offset: Linear, Spherical/Arcsec, Spherical/Degreees etc65 psGetOffset(const psCoord *restrict position1, ///< Position 1 66 const psCoord *restrict position2, ///< Position 2 67 const char *type ///< Type of offset: Linear, Spherical/Arcsec, Spherical/Degreees etc 68 68 ); 69 69 70 70 /** Apply an offset to a position */ 71 71 psCoord * 72 psApplyOffset(const psCoord *restrict position, // !< Position73 const psCoord *restrict offset, // !< Offset74 const char *type // !< Type of offset: Linear, Spherical/Arcsec, Spherical/Degreees etc72 psApplyOffset(const psCoord *restrict position, ///< Position 73 const psCoord *restrict offset, ///< Offset 74 const char *type ///< Type of offset: Linear, Spherical/Arcsec, Spherical/Degreees etc 75 75 ); 76 76 … … 79 79 /** Get Sun Position */ 80 80 psCoord * 81 psGetSunPos(float mjd // !< MJD to get position for81 psGetSunPos(float mjd ///< MJD to get position for 82 82 ); 83 83 84 84 /** Get Moon position */ 85 85 psCoord * 86 psGetMoonPos(float mjd, // !< MJD to get position for87 double latitude, // !< Latitude for apparent position88 double longitude // !< Longitude for apparent position86 psGetMoonPos(float mjd, ///< MJD to get position for 87 double latitude, ///< Latitude for apparent position 88 double longitude ///< Longitude for apparent position 89 89 ); 90 90 91 91 /** Get Moon phase */ 92 92 float 93 psGetMoonPhase(float mjd // !< MJD to get phase for93 psGetMoonPhase(float mjd ///< MJD to get phase for 94 94 ); 95 95 96 96 /** Get Planet positions */ 97 97 psCoord * 98 psGetSolarSystemPos(const char *solarSystemObject, // !< Named S.S. object99 float mjd // !< MJD to get position for98 psGetSolarSystemPos(const char *solarSystemObject, ///< Named S.S. object 99 float mjd ///< MJD to get position for 100 100 ); 101 101 … … 106 106 /** Convert ICRS to Ecliptic */ 107 107 psCoord * 108 psCoordinatesItoE(const psCoord *restrict coordinates // !< ICRS coordinates to convert108 psCoordinatesItoE(const psCoord *restrict coordinates ///< ICRS coordinates to convert 109 109 ); 110 110 111 111 /** Convert Ecliptic to ICRS */ 112 112 psCoord * 113 psCoordinatesEtoI(const psCoord *restrict coordinates // !< Ecliptic coordinates to convert113 psCoordinatesEtoI(const psCoord *restrict coordinates ///< Ecliptic coordinates to convert 114 114 ); 115 115 116 116 /** Convert ICRS to Galactic */ 117 117 psCoord * 118 psCoordinatesItoG(const psCoord *restrict coordinates // !< ICRS coordinates to convert118 psCoordinatesItoG(const psCoord *restrict coordinates ///< ICRS coordinates to convert 119 119 ); 120 120 121 121 /** Convert Galactic to ICRS */ 122 122 psCoord * 123 psCoordinatesGtoI(const psCoord *restrict coordinates // !< Galactic coordinates to convert123 psCoordinatesGtoI(const psCoord *restrict coordinates ///< Galactic coordinates to convert 124 124 ); 125 125
Note:
See TracChangeset
for help on using the changeset viewer.
