Changeset 1287 for trunk/psLib/src/astro/psCoord.h
- Timestamp:
- Jul 22, 2004, 5:13:39 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/astro/psCoord.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astro/psCoord.h
r1285 r1287 10 10 * @author George Gusciora, MHPCC 11 11 * 12 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-07-23 0 0:40:36$12 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-07-23 03:13:39 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 24 24 #include "psList.h" 25 25 #include "psFunctions.h" 26 27 26 28 27 typedef struct … … 69 68 psSphereTransform; 70 69 71 psPlane *psPlaneTransformApply(psPlane *out, 72 const psPlaneTransform *transform, 73 const psPlane *coords); 74 75 psPlane *psPlaneDistortApply(psPlane *out, 76 const psPlaneDistort *transform, 77 const psPlane *coords, 78 float term3, 79 float term4); 80 81 82 psSphereTransform *psSphereTransform(double NPlon, 83 double NPlat; 84 double ZP); 85 86 void p_psSphereTransformFree(psSphereTransform *trans); 87 88 89 90 psSphere *psSphereTransformApply(psSphere *out, 91 const psSphereTransform *transform, 92 const psSphere *coord); 93 94 psSphereTransform *psSphereTransformICRStoEcliptic(void); 95 psSphereTransform *psSphereTransformEcliptictoICRS(void); 96 psSphereTransform *psSphereTransformICRStoGalatic(void); 97 psSphereTransform *psSphereTransformGalatictoICRS(void); 70 typedef enum { 71 PS_PROJ_TAN, ///< Tangent projection 72 PS_PROJ_SIN, ///< Sine projection 73 PS_PROJ_AIT, ///< Aitoff projection 74 PS_PROJ_PAR, ///< Par projection 75 PS_PROJ_GLS, ///< GLS projection 76 PS_PROJ_NTYPE ///< Number of types; must be last. 77 } psProjectionType; 98 78 99 79 typedef struct … … 108 88 109 89 typedef enum { 110 PS_PROJ_TAN, ///< Tangent projection 111 PS_PROJ_SIN, ///< Sine projection 112 PS_PROJ_AIT, ///< Aitoff projection 113 PS_PROJ_PAR, ///< Par projection 114 PS_PROJ_GLS, ///< GLS projection 115 PS_PROJ_NTYPE ///< Number of types; must be last. 116 } psProjectionType; 90 PS_SPHERICAL, 91 PS_LINEAR 92 } psSphereOffsetMode; 93 94 typedef enum { 95 PS_ARCSEC, 96 PS_ARCMIN, 97 PS_DEGREE, 98 PS_RADIAN 99 } psSphereOffsetUnit; 100 101 psPlane *psPlaneTransformApply(psPlane *out, 102 const psPlaneTransform *transform, 103 const psPlane *coords); 104 105 psPlane *psPlaneDistortApply(psPlane *out, 106 const psPlaneDistort *transform, 107 const psPlane *coords, 108 float term3, 109 float term4); 110 111 112 psSphereTransform *psSphereTransformAlloc(double NPlon, 113 double NPlat, 114 double ZP); 115 116 void p_psSphereTransformFree(psSphereTransform *trans); 117 118 psSphere *psSphereTransformApply(psSphere *out, 119 const psSphereTransform *transform, 120 const psSphere *coord); 121 122 psSphereTransform *psSphereTransformICRStoEcliptic(void); 123 psSphereTransform *psSphereTransformEcliptictoICRS(void); 124 psSphereTransform *psSphereTransformICRStoGalatic(void); 125 psSphereTransform *psSphereTransformGalatictoICRS(void); 126 127 psPlane *psProject(const psSphere *coord, 128 const psProjection *projection); 129 130 psSphere *psProject(const psPlane *coord, 131 const psProjection *projection); 117 132 118 133 psSphere *psSphereGetOffset(const psSphere *restrict position1, … … 126 141 psSphereOffsetUnit unit); 127 142 128 typedef enum {129 PS_SPHERICAL;130 PS_LINEAR;131 } psSphereOffsetMode;132 143 133 typedef enum { 134 PS_ARCSEC; 135 PS_ARCMIN; 136 PS_DEGREE; 137 PS_RADIAN; 138 } psSphereOffsetUnit; 144 139 145 140 146 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
