]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Debug Chamfer
authorClarisse Genrault <cgenrault@is231796.intra.cea.fr>
Thu, 12 Sep 2019 08:12:01 +0000 (10:12 +0200)
committervsv <vsv@opencascade.com>
Wed, 6 Nov 2019 08:22:41 +0000 (11:22 +0300)
src/GeomAlgoAPI/GeomAlgoAPI_Chamfer.cpp

index d0bd0693604d49c02dd1443b8deb92290932963c..15fe660838fb4dfa279f62286ddbb999854918f6 100644 (file)
@@ -61,7 +61,8 @@ void GeomAlgoAPI_Chamfer::build(const GeomShapePtr& theBaseSolid,
     if ((*anIt)->isEdge()) {
       TopoDS_Edge E = (*anIt)->impl<TopoDS_Edge>();
       if (aMapEdgeFace.find(*anIt) != aMapEdgeFace.end()) {
-        TopoDS_Face F = (aMapEdgeFace[*anIt])->impl<TopoDS_Face>();
+        //TopoDS_Face F = (aMapEdgeFace[*anIt])->impl<TopoDS_Face>();
+        TopoDS_Face F = (aMapEdgeFace.at(*anIt))->impl<TopoDS_Face>();
         if (!BRepTools::IsReallyClosed(E,F) && !BRep_Tool::Degenerated(E) && 
               M.FindFromKey(E).Extent() == 2) {
           if (performDistances) {