Changeset 15980 for trunk/psModules/src/objects/pmSourceContour.c
- Timestamp:
- Jan 2, 2008, 10:39:04 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmSourceContour.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSourceContour.c
r15619 r15980 6 6 * @author EAM, IfA: significant modifications. 7 7 * 8 * @version $Revision: 1.1 1$ $Name: not supported by cvs2svn $9 * @date $Date: 200 7-11-14 22:15:42$8 * @version $Revision: 1.12 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2008-01-02 20:39:04 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 227 227 int y = yc - image->row0; 228 228 229 // the requested point must be within the contour230 if (image->data.F32[y][x] < threshold) {231 return NULL;232 }233 234 229 // Ensure that the starting column is allowable. 235 230 if (x < 0) { … … 243 238 } 244 239 if (y >= image->numRows) { 240 return NULL; 241 } 242 243 // the requested point must be within the contour 244 if (image->data.F32[y][x] < threshold) { 245 245 return NULL; 246 246 }
Note:
See TracChangeset
for help on using the changeset viewer.
