]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
#refs 1990
authorisn <isn@opencascade.com>
Wed, 22 May 2019 18:51:41 +0000 (21:51 +0300)
committerisn <isn@opencascade.com>
Wed, 22 May 2019 18:51:41 +0000 (21:51 +0300)
src/HYDROData/HYDROData_StreamLinearInterpolation.cxx

index 6c7016187bf3c1ea3c83ed625a3bcc6bbdc68f7f..9cecdf096761059c2fddb18e0c7b01662e92b813 100644 (file)
@@ -174,8 +174,8 @@ static void InterProfilesAndHAX(const HYDROData_SequenceOfObjects& profiles,
   {
     Handle(HYDROData_Profile) aProfile = Handle(HYDROData_Profile)::DownCast(profiles(i)); 
     gp_XY LP, RP;
-    aProfile->GetLeftPoint( LP, true, true );
-    aProfile->GetRightPoint( RP, true, true );
+    aProfile->GetLeftPoint( LP, false, true );
+    aProfile->GetRightPoint( RP, false, true );
     gp_Pnt2d P1(LP), P2(RP);
     double d = P2.Distance(P1);
     if (d < gp::Resolution())