Changeset 2430
- Timestamp:
- Nov 24, 2004, 10:27:46 AM (22 years ago)
- Location:
- trunk/psLib/src/astronomy
- Files:
-
- 2 edited
-
psAstrometry.c (modified) (6 diffs)
-
psAstrometry.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astronomy/psAstrometry.c
r2273 r2430 8 8 * @author George Gusciora, MHPCC 9 9 * 10 * @version $Revision: 1.5 0$ $Name: not supported by cvs2svn $11 * @date $Date: 2004-11- 04 01:04:57$10 * @version $Revision: 1.51 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2004-11-24 20:27:46 $ 12 12 * 13 13 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 26 26 #include "psConstants.h" 27 27 #include "psAstronomyErrors.h" 28 #include "psTrace.h" 29 #include "psLogMsg.h" 28 30 29 31 #include "slalib.h" … … 165 167 psFree(cell->toFPA); 166 168 psFree(cell->toTP); 169 psFree(cell->toSky); 167 170 } 168 171 } … … 438 441 cell->toFPA = NULL; 439 442 cell->toTP = NULL; 443 cell->toSky = NULL; 440 444 441 445 cell->parent = parentChip; … … 718 722 PS_PTR_CHECK_NULL(cell->parent->parent, NULL); 719 723 PS_PTR_CHECK_NULL(cell->parent->parent->projection, NULL); 724 if (cell->toSky) { 725 // XXX: Should we use toTP or toSky? 726 psLogMsg(__func__, PS_LOG_WARN, 727 "WARNING: psCoordCellToSkyQuick(): The cell->toSky transform is ignored. The cell->toTP transform is being used."); 728 } 720 729 721 730 psPlane *tpCoord = NULL; … … 851 860 PS_PTR_CHECK_NULL(cell->parent->parent->projection, NULL); 852 861 PS_PTR_CHECK_NULL(cell->toTP, NULL); 862 if (cell->toSky) { 863 // XXX: Should we use toTP or toSky? 864 psLogMsg(__func__, PS_LOG_WARN, 865 "WARNING: psCoordSkyToCellQuick(): The cell->toSky transform is ignored. The cell->toTP transform is being used."); 866 } 853 867 854 868 psPlane *tpCoord = NULL; -
trunk/psLib/src/astronomy/psAstrometry.h
r2204 r2430 8 8 * @author George Gusciora, MHPCC 9 9 * 10 * @version $Revision: 1.3 0$ $Name: not supported by cvs2svn $11 * @date $Date: 2004-1 0-27 00:57:30$10 * @version $Revision: 1.31 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2004-11-24 20:27:46 $ 12 12 * 13 13 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 129 129 psPlaneTransform* toFPA; ///< transformations from cell to FPA coordinates 130 130 psPlaneTransform* toTP; ///< transformations from cell to tangent plane coordinates 131 psPlaneTransform* toSky; ///< transformations from cell to tangent plane coordinates 131 132 132 133 struct psChip* parent; ///< chip in which contains this cell
Note:
See TracChangeset
for help on using the changeset viewer.
