From 334398a7f6f7746996b1ea9b6e182e9a9eeeb102 Mon Sep 17 00:00:00 2001 From: asl Date: Tue, 15 Nov 2016 08:16:10 +0300 Subject: [PATCH] patch for Z shift of the result DTM --- src/HYDROData/HYDROData_DTM.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/HYDROData/HYDROData_DTM.cxx b/src/HYDROData/HYDROData_DTM.cxx index 5134765d..70428488 100644 --- a/src/HYDROData/HYDROData_DTM.cxx +++ b/src/HYDROData/HYDROData_DTM.cxx @@ -534,6 +534,7 @@ std::vector HYDROData_DTM::ProfileToParametric( double zmin, zmax; GetProperties( theProfile, aLowest, theDir, false, zmin, zmax ); + aLowest.SetZ( 0 ); gp_Ax3 aStd3d( gp_Pnt( 0, 0, 0 ), gp_Dir( 0, 0, 1 ), gp_Dir( 1, 0, 0 ) ); gp_Ax3 aLocal( aLowest, gp_Dir( 0, 0, 1 ), gp_Dir( theDir.X(), theDir.Y(), 0 ) ); -- 2.39.2