]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #1343: Make faces with/without holes from sketch wires.
authordbv <dbv@opencascade.com>
Wed, 13 Apr 2016 13:58:39 +0000 (16:58 +0300)
committerdbv <dbv@opencascade.com>
Wed, 13 Apr 2016 13:58:57 +0000 (16:58 +0300)
src/GeomAlgoAPI/GeomAlgoAPI_ShapeTools.cpp

index f793d5b0e87c9df39b89c3cc765bf6ffb9aa3c00..2a5fd2083441825f1968b28748f6af09dcbc6124 100644 (file)
@@ -30,6 +30,7 @@
 #include <NCollection_Vector.hxx>
 #include <ShapeAnalysis.hxx>
 #include <TopoDS_Builder.hxx>
+#include <TopoDS_Edge.hxx>
 #include <TopoDS_Face.hxx>
 #include <TopoDS_Shape.hxx>
 #include <TopoDS_Shell.hxx>
@@ -351,7 +352,7 @@ void GeomAlgoAPI_ShapeTools::makeFacesWithHoles(const std::shared_ptr<GeomAPI_Pn
   TopoDS_Face aFace = aMKFace.Face();
 
   BRepAlgo_FaceRestrictor aFRestrictor;
-  aFRestrictor.Init(aFace);
+  aFRestrictor.Init(aFace, Standard_False, Standard_True);
   for(ListOfShape::const_iterator anIt = theWires.cbegin();
       anIt != theWires.cend();
       ++anIt) {