Changeset 15895
- Timestamp:
- Dec 22, 2007, 7:52:21 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/astrom/pmAstrometryUtils.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/astrom/pmAstrometryUtils.c
r15884 r15895 7 7 * @author EAM, IfA 8 8 * 9 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $10 * @date $Date: 2007-12- 19 18:57:05$9 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2007-12-22 17:52:21 $ 11 11 * 12 12 * Copyright 2006 Institute for Astronomy, University of Hawaii … … 132 132 psPlaneTransform *psPlaneTransformRotate (psPlaneTransform *output, psPlaneTransform *input, double theta) 133 133 { 134 // validate fit order135 if (output == NULL) {136 output = psPlaneTransformAlloc(input->x->nX, input->x->nY);137 }138 139 134 /* given the polynomial transformations: 140 135 * L(x,y) = \sum_i \sum_j A_{i,j} x^i y^j and … … 145 140 * B'_{i,j} = c B_{i,j} - s A_{i,j} 146 141 */ 142 143 if (output == NULL) { 144 output = psPlaneTransformAlloc(input->x->nX, input->x->nY); 145 } 147 146 148 147 float cs = cos(theta);
Note:
See TracChangeset
for help on using the changeset viewer.
