Skip to content
Snippets Groups Projects
Commit 370760f0 authored by Julien Malik's avatar Julien Malik
Browse files

BUG: fix NaN returned by Spot5 sensor model on the image borders

parent 85b41fb7
Branches
Tags
No related merge requests found
......@@ -644,7 +644,7 @@ void ossimSpot5Model::lineSampleHeightToWorld(const ossimDpt& image_point,
const ossim_float64& heightEllipsoid,
ossimGpt& worldPoint) const
{
if (!insideImage(image_point))
if ( !theImageClipRect.pointWithin(image_point, 1.0-FLT_EPSILON) )
{
if(theSeedFunction.valid())
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment