Salome HOME
17.12.2013. Added Partition algorithm (draft version).
[modules/hydro.git] / src / HYDROData / HYDROData_Obstacle.cxx
index 76480bd1bd93b2e29a16e885173a7de8abd202cd..adf6b6da4280f0ad8cb8628c6d46580526749b98 100644 (file)
@@ -2,7 +2,7 @@
 #include "HYDROData_Obstacle.h"
 
 #include "HYDROData_Document.h"
-#include "HYDROData_EdgesGroup.h"
+#include "HYDROData_ShapesGroup.h"
 
 #include <Basics_Utils.hxx>
 
@@ -353,7 +353,7 @@ void HYDROData_Obstacle::createGroupObjects()
   TopoDS_Shape anObstacleShape = GetTopShape();
   if ( !anObstacleShape.IsNull() )
   {
-    HYDROData_SequenceOfEdges aWireEdges;
+    TopTools_SequenceOfShape aWireEdges;
 
     TopExp_Explorer anExp( anObstacleShape, TopAbs_EDGE );
     for ( ; anExp.More(); anExp.Next() )
@@ -369,10 +369,10 @@ void HYDROData_Obstacle::createGroupObjects()
     {
       QString aWireGroupName = GetName() + "_External_Wire";
 
-      Handle(HYDROData_EdgesGroup) anExtWireGroup = createGroupObject();
+      Handle(HYDROData_ShapesGroup) anExtWireGroup = createGroupObject();
       anExtWireGroup->SetName( aWireGroupName );
      
-      anExtWireGroup->SetEdges( aWireEdges );
+      anExtWireGroup->SetShapes( aWireEdges );
     }
   }
 }