Salome HOME
merge trunk on BR_quadtree 20140820
[modules/hydro.git] / src / HYDROData / HYDROData_Stream.cxx
index 128239eac56a836a0e07c9f6d1a6c71ddda2c72c..b4d48d61f9cdd1cd29c8d74c2cbd4fb7cf10a62f 100644 (file)
@@ -152,8 +152,8 @@ bool HYDROData_Stream::IsHas2dPrs() const
 }
 
 bool HYDROData_Stream::CreatePresentations( const Handle(HYDROData_PolylineXY)& theHydAxis,
-                                           const HYDROData_SequenceOfObjects&  theProfiles,
-                                           PrsDefinition&                      thePrs )
+                                            const HYDROData_SequenceOfObjects&  theProfiles,
+                                            PrsDefinition&                      thePrs )
 {
   if ( theHydAxis.IsNull() || theProfiles.Length() < 2 )
     return false;
@@ -175,7 +175,7 @@ bool HYDROData_Stream::CreatePresentations( const Handle(HYDROData_PolylineXY)&
 
     const TopoDS_Shape& aProf3d = aProfile->GetShape3D();
     gp_XY aPnt1, aPnt2;
-    if ( !aProfile->GetLeftPoint( aPnt1 ) || !aProfile->GetRightPoint( aPnt2 ) )
+    if ( !aProfile->GetLeftPoint( aPnt1, false ) || !aProfile->GetRightPoint( aPnt2, false ) )
       continue;
 
     anArrOfProfiles.SetValue(i,aProfile->GetShape3D());//aProfile->GetTopShape();