Changeset 2602 for trunk/psLib/src/astronomy/psCoord.c
- Timestamp:
- Dec 3, 2004, 9:43:43 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/astronomy/psCoord.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astronomy/psCoord.c
r2600 r2602 10 10 * @author GLG, MHPCC 11 11 * 12 * @version $Revision: 1.3 7$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-12-0 2 21:12:51$12 * @version $Revision: 1.38 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-12-03 19:43:43 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 208 208 y = coord->d; 209 209 dx = x - transform->phiP; 210 sinY = cos(y) * sin(dx) * transform->sinDeltaP + sin(y) * transform->cosDeltaP; 210 sinY = cos(y) * sin(dx) * transform->sinDeltaP + 211 sin(y) * transform->cosDeltaP; 211 212 cosY = sqrt(1.0 - sinY * sinY); 212 sinX = (cos(y) * sin(dx) * transform->cosDeltaP - sin(y) * transform->sinDeltaP) / cos(y); 213 sinX = (cos(y) * sin(dx) * transform->cosDeltaP - 214 sin(y) * transform->sinDeltaP) / cos(y); 213 215 cosX = cos(y) * cos(dx) / cos(y); 214 216
Note:
See TracChangeset
for help on using the changeset viewer.
