mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-13 14:27:08 +03:00
0026496: Error in use the BRepCheck_Analyzer
Implementation Propagate() function from MASTER (in BRepCheck_Wire)
This commit is contained in:
@@ -1549,6 +1549,7 @@ static void Propagate(const TopTools_IndexedDataMapOfShapeListOfShape& mapVE,
|
||||
for (; itrc.More(); itrc.Next())
|
||||
{
|
||||
const TopoDS_Shape& Edge = itrc.Value();
|
||||
if (!mapE.Contains(Edge))
|
||||
mapE.Add(Edge);
|
||||
|
||||
TopExp_Explorer ex(Edge, TopAbs_VERTEX);
|
||||
@@ -1565,11 +1566,14 @@ 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
currentEdges = nextEdges;
|
||||
}
|
||||
while (!currentEdges.IsEmpty());
|
||||
|
Reference in New Issue
Block a user