Changeset 1497 for trunk/psLib/src/astronomy/psCoord.c
- Timestamp:
- Aug 11, 2004, 3:32:21 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/astronomy/psCoord.c (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astronomy/psCoord.c
r1492 r1497 10 10 * @author George Gusciora, MHPCC 11 11 * 12 * @version $Revision: 1.1 6$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-08-1 1 23:53:54$12 * @version $Revision: 1.17 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-08-12 01:32:21 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 76 76 77 77 // This function prototype has been modified since the SDRS. 78 psSphereTransform* psSphereTransformAlloc(double NPlat, double Xo, double xo) 78 psSphereTransform* psSphereTransformAlloc(double NPlat, 79 double Xo, 80 double xo) 79 81 { 80 82 psSphereTransform* tmp = (psSphereTransform* ) psAlloc(sizeof(psSphereTransform)); … … 95 97 // there are no typo's. 96 98 97 psSphere* psSphereTransformApply(psSphere* out, const psSphereTransform* transform, const psSphere* coord) 99 psSphere* psSphereTransformApply(psSphere* out, 100 const psSphereTransform* transform, 101 const psSphere* coord) 98 102 { 99 103 double sinY = 0.0; … … 164 168 165 169 // This is some kind of arc tan function. 166 float arg(float x, float y) 170 float arg(float x, 171 float y) 167 172 { 168 173 if (x > 0) { … … 184 189 // XXX: Waiting for the definition of the PS_PROJ_PAR projection. 185 190 // XXX: Waiting for the definition of the PS_PROJ_GLS projection. 186 psPlane* psProject(const psSphere* coord, const psProjection* projection) 191 psPlane* psProject(const psSphere* coord, 192 const psProjection* projection) 187 193 { 188 194 float R = 0.0; … … 226 232 // XXX: Waiting for the definition of the PS_PROJ_PAR projection. 227 233 // XXX: Waiting for the definition of the PS_PROJ_GLS projection. 228 psSphere* psDeproject(const psPlane* coord, const psProjection* projection) 234 psSphere* psDeproject(const psPlane* coord, 235 const psProjection* projection) 229 236 { 230 237 float R = 0.0; … … 275 282 psSphere* psSphereGetOffset(const psSphere* restrict position1, 276 283 const psSphere* restrict position2, 277 psSphereOffsetMode mode, psSphereOffsetUnit unit) 284 psSphereOffsetMode mode, 285 psSphereOffsetUnit unit) 278 286 { 279 287 // psPlane* lin; … … 336 344 psSphere* psSphereSetOffset(const psSphere* restrict position, 337 345 const psSphere* restrict offset, 338 psSphereOffsetMode mode, psSphereOffsetUnit unit) 346 psSphereOffsetMode mode, 347 psSphereOffsetUnit unit) 339 348 { 340 349 psPlane lin;
Note:
See TracChangeset
for help on using the changeset viewer.
