Salome HOME
porting on linux
[modules/hydro.git] / src / HYDROData / HYDROData_SplitToZonesTool.h
index 67b6bdc046c4276066f7afde90c4218172b38928..530e7f2aba241f1606e998177afb99c67fe4df50 100644 (file)
@@ -1,7 +1,28 @@
+// Copyright (C) 2014-2015  EDF-R&D
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
 
 #ifndef HYDROData_SplitToZonesTool_H
 #define HYDROData_SplitToZonesTool_H
 
+#ifdef WIN32
+  #pragma warning ( disable: 4251 )
+#endif
+
 #include <HYDROData_Object.h>
 #include <HYDROData_Transform.h>
 #include <TopoDS_Shape.hxx>
@@ -66,7 +87,16 @@ public:
 
   static SplitDataList       Split( const HYDROData_SequenceOfObjects&  theObjectList,
                                     const HYDROData_SequenceOfObjects&  theGroupsList,
-                                    const Handle(HYDROData_PolylineXY)& thePolyline );
+                                    const Handle(HYDROData_PolylineXY)& thePolyline,
+                                    const HYDROData_SequenceOfObjects& InterPolys );
+
+  static SplitDataList       Split( const HYDROData_SequenceOfObjects&  theObjectList );
+
+  static void AddInternalEdges(HYDROData_DataMapOfShapeListOfShape& DM,
+                               const HYDROData_SequenceOfObjects& thePolylines);
+
+  static int CutByEdges(const TopoDS_Shape& InSh, const TopTools_ListOfShape& InEdges,
+                        TopTools_ListOfShape& outShs);
 
   static void SetFileNames(const QString& theNameBefore, const QString& theNameAfter);
 
@@ -78,4 +108,9 @@ private:
   static Standard_Integer SplitFaces(const TopoDS_Compound& theComp, HYDROData_Transform& theTool);
 };
 
+#ifdef WIN32
+  #pragma warning ( default: 4251 )
+#endif
+
+
 #endif