Changeset 2602 for trunk/psLib/src/astronomy
- Timestamp:
- Dec 3, 2004, 9:43:43 AM (22 years ago)
- Location:
- trunk/psLib/src/astronomy
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astronomy/Makefile
r2600 r2602 3 3 endif 4 4 5 # XXX: Must put appropiate conditional here: 6 LIBXMLDIR = /usr/include/libxml2 7 LIBXMLDIR = /usr/local/include/libxml2 8 5 9 TARGET_STATIC = libpslib.a 6 10 include ../Makefile.Globals 7 11 CFLAGS := $(CFLAGS_RELOC) -I. -I../sysUtils -I../collections -I../dataManip \ 8 -I.. -I../image -I../fileUtils -I /usr/local/include/libxml2\12 -I.. -I../image -I../fileUtils -I$(LIBXMLDIR) \ 9 13 -DTIME_CONFIG_FILE="\"$(TIME_CONFIG_FILE)\"" 10 14 -
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.
