Skip to content
Snippets Groups Projects
Commit 99cf9e58 authored by Patrick Imbo's avatar Patrick Imbo
Browse files

ENH: Call to DEMFunction

parent eb66d4bc
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@ ForwardSensorModel<TScalarType, NInputDimensions, NOutputDimensions>
// otbMsgDevMacro(<< "PointP Before iter : (" << point[1] << "," << point[0] <<")");
heightTmp = this->m_DEMHandler->GetHeightAboveMSL(currentPoint);
heightTmp = this->GetDEMFunction()->Evaluate(currentPoint);
// otbMsgDevMacro(<< "height : " << heightTmp);
......
......@@ -54,7 +54,7 @@ InverseSensorModel<TScalarType, NInputDimensions, NOutputDimensions>
itk::Point<double, 2> currentPoint;
currentPoint[0] = ossimGPoint.lon;
currentPoint[1] = ossimGPoint.lat;
double height = this->m_DEMHandler->GetHeightAboveMSL(currentPoint);
double height = this->GetDEMFunction()->Evaluate(currentPoint);;
// otbMsgDevMacro(<< "height : " << height);
ossimGPoint.height(height);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment