Changeset 1325 for trunk/psLib/src/astro
- Timestamp:
- Jul 28, 2004, 4:08:02 PM (22 years ago)
- Location:
- trunk/psLib/src/astro
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astro/psCoord.c
r1311 r1325 10 10 * @author George Gusciora, MHPCC 11 11 * 12 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-07-2 8 20:22:22 $12 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-07-29 02:08:02 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 146 146 } 147 147 148 psSphereTransform *psSphereTransformEcliptictoICRS( void)148 psSphereTransform *psSphereTransformEcliptictoICRS(psTime time) 149 149 { 150 150 struct tm *tmTime = psTimeToTM(time); … … 293 293 psSphereOffsetUnit unit) 294 294 { 295 psPlane *lin;295 // psPlane *lin; 296 296 psProjection proj; 297 297 psSphere *tmp; … … 312 312 proj.type = PS_PROJ_TAN; 313 313 314 lin = psProject(position2, proj);315 tmp = psDeproject(lin, proj);314 // lin = psProject(position2, proj); 315 // tmp = psDeproject(lin, proj); 316 316 317 317 // XXX: Do we need to convert units in tmp? -
trunk/psLib/src/astro/psCoord.h
r1297 r1325 10 10 * @author George Gusciora, MHPCC 11 11 * 12 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-07-2 7 05:30:55$12 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-07-29 02:08:02 $ 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 #include "psTime.h" 26 27 27 28 typedef struct … … 121 122 const psSphere *coord); 122 123 123 psSphereTransform *psSphereTransformICRStoEcliptic( void);124 psSphereTransform *psSphereTransformEcliptictoICRS( void);124 psSphereTransform *psSphereTransformICRStoEcliptic(psTime time); 125 psSphereTransform *psSphereTransformEcliptictoICRS(psTime time); 125 126 psSphereTransform *psSphereTransformICRStoGalatic(void); 126 127 psSphereTransform *psSphereTransformGalatictoICRS(void);
Note:
See TracChangeset
for help on using the changeset viewer.
