Changeset 1385 for trunk/psLib/src/astro/psCoord.h
- Timestamp:
- Aug 4, 2004, 1:37:39 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/astro/psCoord.h (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astro/psCoord.h
r1374 r1385 10 10 * @author George Gusciora, MHPCC 11 11 * 12 * @version $Revision: 1. 7$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-08-04 00:55:17$12 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-08-04 23:37:39 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 30 30 31 31 typedef struct 32 {33 double x; ///< x position34 double y; ///< y position35 double xErr; ///< Error in x position36 double yErr; ///< Error in y position37 }32 { 33 double x; ///< x position 34 double y; ///< y position 35 double xErr; ///< Error in x position 36 double yErr; ///< Error in y position 37 } 38 38 psPlane; 39 39 40 40 typedef struct 41 {42 double r; ///< RA43 double d; ///< Dec44 double rErr; ///< Error in RA45 double dErr; ///< Error in Dec46 }41 { 42 double r; ///< RA 43 double d; ///< Dec 44 double rErr; ///< Error in RA 45 double dErr; ///< Error in Dec 46 } 47 47 psSphere; 48 48 49 49 typedef struct 50 {51 psDPolynomial2D *x;52 psDPolynomial2D *y;53 }50 { 51 psDPolynomial2D *x; 52 psDPolynomial2D *y; 53 } 54 54 psPlaneTransform; 55 55 56 56 typedef struct 57 {58 psDPolynomial4D *x;59 psDPolynomial4D *y;60 }57 { 58 psDPolynomial4D *x; 59 psDPolynomial4D *y; 60 } 61 61 psPlaneDistort; 62 62 63 63 typedef struct 64 {65 double sinPhi; ///< sin of North Pole lattitude66 double cosPhi; ///< cos of North Pole lattitude67 double Xo; ///< First PT of Ares lon68 double xo; ///< First PT of Ares equiv lon69 }64 { 65 double sinPhi; ///< sin of North Pole lattitude 66 double cosPhi; ///< cos of North Pole lattitude 67 double Xo; ///< First PT of Ares lon 68 double xo; ///< First PT of Ares equiv lon 69 } 70 70 psSphereTransform; 71 71 … … 82 82 83 83 typedef struct 84 {85 double R; ///< Coordinates of projection center86 double D; ///< Coordinates of projection center87 double Xs; ///< plate-scale in X direction88 double Ys; ///< plate-scale in Y direction89 psProjectionType type; ///< Projection type90 }84 { 85 double R; ///< Coordinates of projection center 86 double D; ///< Coordinates of projection center 87 double Xs; ///< plate-scale in X direction 88 double Ys; ///< plate-scale in Y direction 89 psProjectionType type; ///< Projection type 90 } 91 91 psProjection; 92 92 … … 106 106 const psPlaneTransform *transform, 107 107 const psPlane *coords ); 108 108 109 109 psPlane *psPlaneDistortApply( psPlane *out, 110 110 const psPlaneDistort *transform, … … 112 112 float term3, 113 113 float term4 ); 114 115 114 115 116 116 // New function prototype. 117 117 psSphereTransform *psSphereTransformAlloc( double NPlat, 118 118 double Xo, 119 119 double xo ); 120 120 121 121 void p_psSphereTransformFree( psSphereTransform *trans ); 122 122 … … 124 124 const psSphereTransform *transform, 125 125 const psSphere *coord ); 126 126 127 127 psSphereTransform *psSphereTransformICRStoEcliptic( psTime time ); 128 128 psSphereTransform *psSphereTransformEcliptictoICRS( psTime time ); … … 132 132 psPlane *psProject( const psSphere *coord, 133 133 const psProjection *projection ); 134 134 135 135 psSphere *psDeproject( const psPlane *coord, 136 136 const psProjection *projection ); 137 137 138 138 psSphere *psSphereGetOffset( const psSphere *restrict position1, 139 139 const psSphere *restrict position2, 140 140 psSphereOffsetMode mode, 141 141 psSphereOffsetUnit unit ); 142 142 143 143 psSphere *psSphereSetOffset( const psSphere *restrict position, 144 144 const psSphere *restrict offset, 145 145 psSphereOffsetMode mode, 146 146 psSphereOffsetUnit unit ); 147 147 148 148 /// @} 149 149
Note:
See TracChangeset
for help on using the changeset viewer.
