Changeset 1426 for trunk/psLib/src/astronomy/psCoord.h
- Timestamp:
- Aug 9, 2004, 12:44:25 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/astronomy/psCoord.h (modified) (14 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astronomy/psCoord.h
r1407 r1426 11 11 * @author George Gusciora, MHPCC 12 12 * 13 * @version $Revision: 1.1 0$ $Name: not supported by cvs2svn $14 * @date $Date: 2004-08-0 7 00:06:06$13 * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2004-08-09 22:44:25 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 39 39 typedef struct 40 40 { 41 double x; // /< x position42 double y; // /< y position43 double xErr; // /< Error in x position44 double yErr; // /< Error in y position41 double x; ///< x position 42 double y; ///< y position 43 double xErr; ///< Error in x position 44 double yErr; ///< Error in y position 45 45 } 46 46 psPlane; … … 55 55 typedef struct 56 56 { 57 double r; // /< RA58 double d; // /< Dec59 double rErr; // /< Error in RA60 double dErr; // /< Error in Dec57 double r; ///< RA 58 double d; ///< Dec 59 double rErr; ///< Error in RA 60 double dErr; ///< Error in Dec 61 61 } 62 62 psSphere; … … 72 72 typedef struct 73 73 { 74 psDPolynomial2D *x; // /< 2D polynomial transform of X coordinates75 psDPolynomial2D *y; // /< 2D polynomial transform of Y coordinates74 psDPolynomial2D *x; ///< 2D polynomial transform of X coordinates 75 psDPolynomial2D *y; ///< 2D polynomial transform of Y coordinates 76 76 } 77 77 psPlaneTransform; … … 91 91 typedef struct 92 92 { 93 psDPolynomial4D *x; // /< 4D polynomial transform of X coordinates94 psDPolynomial4D *y; // /< 4D polynomial transform of Y coordinates93 psDPolynomial4D *x; ///< 4D polynomial transform of X coordinates 94 psDPolynomial4D *y; ///< 4D polynomial transform of Y coordinates 95 95 } 96 96 psPlaneDistort; … … 108 108 typedef struct 109 109 { 110 double sinPhi; // /< sin of North Pole lattitude111 double cosPhi; // /< cos of North Pole lattitude112 double Xo; // /< First PT of Ares lon113 double xo; // /< First PT of Ares equiv lon110 double sinPhi; ///< sin of North Pole lattitude 111 double cosPhi; ///< cos of North Pole lattitude 112 double Xo; ///< First PT of Ares lon 113 double xo; ///< First PT of Ares equiv lon 114 114 } 115 115 psSphereTransform; … … 121 121 */ 122 122 typedef enum { 123 PS_PROJ_TAN, // /< Tangent projection124 PS_PROJ_SIN, // /< Sine projection125 PS_PROJ_AIT, // /< Aitoff projection126 PS_PROJ_PAR, // /< Par projection127 PS_PROJ_GLS, // /< GLS projection128 PS_PROJ_CAR, // /< CAR projection129 PS_PROJ_MER, // /< MER projection130 PS_PROJ_NTYPE // /< Number of types; must be last.123 PS_PROJ_TAN, ///< Tangent projection 124 PS_PROJ_SIN, ///< Sine projection 125 PS_PROJ_AIT, ///< Aitoff projection 126 PS_PROJ_PAR, ///< Par projection 127 PS_PROJ_GLS, ///< GLS projection 128 PS_PROJ_CAR, ///< CAR projection 129 PS_PROJ_MER, ///< MER projection 130 PS_PROJ_NTYPE ///< Number of types; must be last. 131 131 } psProjectionType; 132 132 … … 138 138 typedef struct 139 139 { 140 double R; // /< Coordinates of projection center141 double D; // /< Coordinates of projection center142 double Xs; // /< plate-scale in X direction143 double Ys; // /< plate-scale in Y direction144 psProjectionType type; // /< Projection type140 double R; ///< Coordinates of projection center 141 double D; ///< Coordinates of projection center 142 double Xs; ///< plate-scale in X direction 143 double Ys; ///< plate-scale in Y direction 144 psProjectionType type; ///< Projection type 145 145 } 146 146 psProjection; … … 152 152 */ 153 153 typedef enum { 154 PS_SPHERICAL, // /< offset corresponds to an angular offset155 PS_LINEAR // /< offset corresponds to a linear offset154 PS_SPHERICAL, ///< offset corresponds to an angular offset 155 PS_LINEAR ///< offset corresponds to a linear offset 156 156 } psSphereOffsetMode; 157 157 … … 162 162 */ 163 163 typedef enum { 164 PS_ARCSEC, // /< Arcseconds165 PS_ARCMIN, // /< Arcminutes166 PS_DEGREE, // /< Degrees167 PS_RADIAN // /< Radians164 PS_ARCSEC, ///< Arcseconds 165 PS_ARCMIN, ///< Arcminutes 166 PS_DEGREE, ///< Degrees 167 PS_RADIAN ///< Radians 168 168 } psSphereOffsetUnit; 169 169 … … 171 171 * 172 172 */ 173 psPlane *psPlaneTransformApply(psPlane * out, // /< a psPlane to recycle. If NULL, a new one is generated.174 const psPlaneTransform * transform, // /< the transform to apply175 const psPlane * coords // /< the coordinate to apply the transform above.173 psPlane *psPlaneTransformApply(psPlane * out, ///< a psPlane to recycle. If NULL, a new one is generated. 174 const psPlaneTransform * transform, ///< the transform to apply 175 const psPlane * coords ///< the coordinate to apply the transform above. 176 176 ); 177 177 … … 179 179 * 180 180 */ 181 psPlane *psPlaneDistortApply(psPlane * out, // /< a psPlane to recycle. If NULL, a new one is generated.182 const psPlaneDistort * transform, // /< the transform to apply183 const psPlane * coords, // /< the coordinate to apply the transform above.184 float term3, // /< third term -- maybe magnitude185 float term4 // /< forth term -- maybe color181 psPlane *psPlaneDistortApply(psPlane * out, ///< a psPlane to recycle. If NULL, a new one is generated. 182 const psPlaneDistort * transform, ///< the transform to apply 183 const psPlane * coords, ///< the coordinate to apply the transform above. 184 float term3, ///< third term -- maybe magnitude 185 float term4 ///< forth term -- maybe color 186 186 ); 187 187 … … 189 189 * 190 190 */ 191 psSphereTransform *psSphereTransformAlloc(double NPlat, // /< north pole latitude192 double Xo, // /< First PT of Ares lon193 double xo // /< First PT of Ares equiv lon191 psSphereTransform *psSphereTransformAlloc(double NPlat, ///< north pole latitude 192 double Xo, ///< First PT of Ares lon 193 double xo ///< First PT of Ares equiv lon 194 194 ); 195 195 … … 197 197 * 198 198 */ 199 psSphere *psSphereTransformApply(psSphere * out, // /< a psSphere to recycle. If NULL, a new one is199 psSphere *psSphereTransformApply(psSphere * out, ///< a psSphere to recycle. If NULL, a new one is 200 200 // generated. 201 const psSphereTransform * transform, // /< the transform to apply202 const psSphere * coord // /< the coordinate to apply the transform above.x201 const psSphereTransform * transform, ///< the transform to apply 202 const psSphere * coord ///< the coordinate to apply the transform above.x 203 203 ); 204 204
Note:
See TracChangeset
for help on using the changeset viewer.
