1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0026496: Error in use the BRepCheck_Analyzer

Implementation Propagate() function from MASTER (in BRepCheck_Wire)
This commit is contained in:
nbv
2015-07-29 13:50:38 +03:00
parent bc6903b48c
commit d5eff06bb0

View File

@@ -1549,7 +1549,8 @@ static void Propagate(const TopTools_IndexedDataMapOfShapeListOfShape& mapVE,
for (; itrc.More(); itrc.Next())
{
const TopoDS_Shape& Edge = itrc.Value();
mapE.Add(Edge);
if (!mapE.Contains(Edge))
mapE.Add(Edge);
TopExp_Explorer ex(Edge, TopAbs_VERTEX);
for (; ex.More(); ex.Next())
@@ -1565,7 +1566,10 @@ static void Propagate(const TopTools_IndexedDataMapOfShapeListOfShape& mapVE,
{
const TopoDS_Shape& E = itl.Value();
if (!Edge.IsSame(E) && !mapE.Contains(E))
{
mapE.Add(E);
nextEdges.Append(E);
}
}
}
}