Changeset 4992 for trunk/psModules/src/pmAstrometry.c
- Timestamp:
- Sep 11, 2005, 12:25:39 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/pmAstrometry.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/pmAstrometry.c
r4779 r4992 8 8 * @author GLG, MHPCC 9 9 * 10 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $11 * @date $Date: 2005-0 8-16 02:29:29 $10 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2005-09-11 22:25:39 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 106 106 } 107 107 108 108 // XXX: Verify these default values for row0, col0, rowBins, colBins 109 109 pmReadout *pmReadoutAlloc(pmCell *cell) 110 110 { … … 707 707 */ 708 708 709 // XXX: How should we handle errors? What if psMetadataLookup() is NULL? 709 710 psMetadataItem *pmReadoutGetConcept(pmReadout *readout, const char *concept) 710 711 { … … 794 795 } 795 796 796 psRegion *pmCellGetTrimSec(pmCell *cell) // CELL.TRIMSEC797 psRegion pmCellGetTrimSec(pmCell *cell) // CELL.TRIMSEC 797 798 { 798 799 psMetadataItem *tmp = pmCellGetConcept(cell, "CELL.TRIMSEC"); 799 return((psRegion *) tmp->data.V);800 return((psRegion) *((psRegion *) (tmp->data.V))); 800 801 } 801 802 … … 824 825 } 825 826 826 psPixelCoord *pmCellGetBin(pmCell *cell) // CELL.BIN 827 828 psPixelCoord pmCellGetBin(pmCell *cell) // CELL.BIN 827 829 { 828 830 psMetadataItem *tmp = pmCellGetConcept(cell, "CELL.BIN"); 829 return((psPixelCoord *) tmp->data.V);830 } 831 832 psPixelCoord *pmCellGetParity(pmCell *cell) // CELL.PARITY831 return((psPixelCoord) *((psPixelCoord *) (tmp->data.V))); 832 } 833 834 psPixelCoord pmCellGetParity(pmCell *cell) // CELL.PARITY 833 835 { 834 836 psMetadataItem *tmp = pmCellGetConcept(cell, "CELL.PARITY"); 835 return((psPixelCoord *) tmp->data.V);837 return((psPixelCoord) *((psPixelCoord *) (tmp->data.V))); 836 838 } 837 839
Note:
See TracChangeset
for help on using the changeset viewer.
