Salome HOME
Methods renamed.
[modules/hydro.git] / src / HYDROData / HYDROData_Stream.cxx
index b0a2bbdd50b4c6177b8866b64c8b09fe36e358f6..63e983ec1d35109f89a4b77de997c7387b09dbf7 100644 (file)
@@ -165,7 +165,7 @@ void HYDROData_Stream::Update()
       continue;        
        const TopoDS_Shape& aProf3d = aProfile->GetShape3D();
     gp_XY aPnt1, aPnt2;
-    if ( !aProfile->GetFirstPoint( aPnt1 ) || !aProfile->GetLastPoint( aPnt2 ) )
+    if ( !aProfile->GetLeftPoint( aPnt1 ) || !aProfile->GetRightPoint( aPnt2 ) )
       continue;
        anArrOfProfiles.SetValue(i,aProfile->GetShape3D());//aProfile->GetTopShape();
        anArrOf2DProfiles.SetValue(i,aProfile->GetTopShape());