From 63221871104c3027b7390ffa11d1cf44738e5b81 Mon Sep 17 00:00:00 2001 From: Clarisse Genrault Date: Thu, 12 Sep 2019 10:12:01 +0200 Subject: [PATCH] Debug Chamfer --- src/GeomAlgoAPI/GeomAlgoAPI_Chamfer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_Chamfer.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_Chamfer.cpp index d0bd06936..15fe66083 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_Chamfer.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_Chamfer.cpp @@ -61,7 +61,8 @@ void GeomAlgoAPI_Chamfer::build(const GeomShapePtr& theBaseSolid, if ((*anIt)->isEdge()) { TopoDS_Edge E = (*anIt)->impl(); if (aMapEdgeFace.find(*anIt) != aMapEdgeFace.end()) { - TopoDS_Face F = (aMapEdgeFace[*anIt])->impl(); + //TopoDS_Face F = (aMapEdgeFace[*anIt])->impl(); + TopoDS_Face F = (aMapEdgeFace.at(*anIt))->impl(); if (!BRepTools::IsReallyClosed(E,F) && !BRep_Tool::Degenerated(E) && M.FindFromKey(E).Extent() == 2) { if (performDistances) { -- 2.39.2