From: William M. <mo...@sp...> - 2007-08-28 18:08:06
|
When I clip a polygon to the current tile bounding rect, and compare the bounding rect of the clipped polygon to the bounding rect of the tile itself, the two are not exactly equal. I converted the tile rect to ossimGpts: projTileRect = lineSampleToWorld(theTile->getImageRectangle()); poly.clipToRect( clippedPolyRect, projTileRect ); When I look at the ul points of clippedPolyRect and projTileRect, they are not exactly equal. When I open them up in imagelinker, they appear to be the same. Any thoughts? Thank you, ************************************************** William Morgart Space and Naval Warfare Systems Center, San Diego Joint and National Systems Division -- Code 2731 Office: (619) 553-2211 mo...@sp... ************************************************** |