Salome HOME
Import/Export // API revision. p4
[modules/hydro.git] / src / HYDROData / HYDROData_Profile.cxx
index 47418cdf8a0200b45a89d32b4df9534a93abd8b1..6fbfd97a90ddce334d6147278c4c26107294f785 100755 (executable)
@@ -294,7 +294,7 @@ bool HYDROData_Profile::GetRightPoint( gp_XY& thePoint, bool IsConvertToGlobal,
   if ( aParametricPoints.Length() < 2 )
     return false;
 
-  thePoint = GetParametricPoints().First();
+  thePoint = GetParametricPoints().Last();
 
   TDF_Label aLabel = myLab.FindChild( DataTag_LastPoint, false );
   if ( aLabel.IsNull() )