Changeset 12330 for trunk/psLib/src/astro/psCoord.c
- Timestamp:
- Mar 8, 2007, 12:12:56 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/astro/psCoord.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astro/psCoord.c
r11686 r12330 10 10 * @author GLG, MHPCC 11 11 * 12 * @version $Revision: 1.13 4$ $Name: not supported by cvs2svn $13 * @date $Date: 2007-0 2-07 23:52:53$12 * @version $Revision: 1.135 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2007-03-08 22:12:56 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 67 67 simply inverts the supplied psPlaneTransform transform. It assumes that 68 68 "transform" is linear. 69 69 70 70 XXX: This code no longer makes sense. The merge must be reviewed. 71 71 72 72 XXX: below is the code using the standard matrix representation. note that 73 73 this inversion requires x->nX == 1, y->nY == 1 and x->nY <= 1, y->nX <= 1 … … 144 144 if the supplied psPlaneTransform transform is linear: if any of the 145 145 cooefficients of order 2 are higher are non-zero, then it is not linear. 146 146 147 147 Returns: 148 148 true: if linear 149 149 false: otherwise 150 150 151 151 Why isn't this called p_psIsPlaneTransformLinear()? 152 152 *****************************************************************************/ … … 882 882 /***************************************************************************** 883 883 psPlaneTransformFit(trans, source, dest, nRejIter, sigmaClip) 884 884 885 885 XXX: This code ignores nRejIter and sigmaClip. We must call the ClipFit 886 886 routines instead. … … 931 931 /***************************************************************************** 932 932 psPlaneTransformInvert(out, in, region, nSamples) 933 933 934 934 *****************************************************************************/ 935 935 psPlaneTransform *psPlaneTransformInvert( … … 1129 1129 // out->data[m].y = fxnVal->y + y; 1130 1130 // m++; 1131 out = p _psPixelsAppend(out, 1, (float)(fxnVal->x+j),1132 (float)(fxnVal->y+k) );1131 out = psPixelsAdd(out, 1, (float)(fxnVal->x+j), 1132 (float)(fxnVal->y+k) ); 1133 1133 } 1134 1134 }
Note:
See TracChangeset
for help on using the changeset viewer.
