Salome HOME
Merge branch 'BR_LAND_COVER_MAP' into BR_quadtree
[modules/hydro.git] / src / HYDROData / HYDROData_PolylineXY.cxx
old mode 100755 (executable)
new mode 100644 (file)
index 559947e..24728ef
@@ -130,7 +130,8 @@ HYDROData_PolylineXY::~HYDROData_PolylineXY()
 {
 }
 
-QStringList HYDROData_PolylineXY::DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const
+QStringList HYDROData_PolylineXY::DumpToPython( const QString&       thePyScriptPath,
+                                                MapOfTreatedObjects& theTreatedObjects ) const
 {
   QStringList aResList = dumpObjectCreation( theTreatedObjects );
   QString aPolylineName = GetObjPyName();
@@ -540,7 +541,7 @@ void HYDROData_PolylineXY::Update()
   aBB.MakeCompound(aCmp);
   if(aSeqEdges->Length() >1)
   {
-    ShapeAnalysis_FreeBounds::ConnectEdgesToWires(aSeqEdges,1E-5,Standard_False,aSeqWires);
+    ShapeAnalysis_FreeBounds::ConnectEdgesToWires( aSeqEdges, 1E-5, Standard_True, aSeqWires );
 
     if( aSeqWires->Length()==1 )
       aResult = aSeqWires->Value( 1 );
@@ -1201,6 +1202,16 @@ bool HYDROData_PolylineXY::IsCustom() const
   return !isNull && aNbPoints == 0;
 }
 
+bool HYDROData_PolylineXY::GetIsInCustomFlag() const
+{
+  return myIsInCustomFlag;
+}
+
+void HYDROData_PolylineXY::SetIsInCustomFlag( bool theValue )
+{
+  myIsInCustomFlag = theValue;
+}
+
 void HYDROData_PolylineXY::Interpolate()
 {
   ImportShape( GetShape(), true );