Changeset 30088
- Timestamp:
- Dec 17, 2010, 9:16:02 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20101205/psModules/src/objects/pmFootprint.c
r29004 r30088 255 255 } 256 256 257 // create a new footprint with the same span set as the input footprint 258 pmFootprint *pmFootprintCopyData(pmFootprint *inFoot, psImage *image) { 259 260 pmFootprint *outFoot = pmFootprintAlloc(inFoot->nspans, image); 261 for (int i = 0; i < inFoot->nspans; i++) { 262 pmSpan *span = inFoot->spans->data[i]; 263 pmFootprintAddSpan(outFoot, span->y, span->x0, span->x1); 264 } 265 return outFoot; 266 } 267 257 268 /************************************************************************************************************/
Note:
See TracChangeset
for help on using the changeset viewer.
