1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0028643: Coding rules - eliminate GCC compiler warnings -Wmisleading-indentation

This commit is contained in:
kgv
2017-04-08 14:50:24 +03:00
committed by bugmaster
parent 14c4193d11
commit c48e2889cd
68 changed files with 1691 additions and 1060 deletions

View File

@@ -111,17 +111,27 @@ void BRepTools_Quilt::Add(const TopoDS_Shape& S)
// Binds all the faces of S
// - to the face itself if it is not copied
// - to the copy if it is copied
if(myBounds.Contains(S)) return;
if(myBounds.Contains(S))
{
return;
}
BRep_Builder B;
for (TopExp_Explorer wex(S,TopAbs_WIRE,TopAbs_FACE); wex.More(); wex.Next())
myBounds.Add(wex.Current(),wex.Current());
for (TopExp_Explorer wex(S,TopAbs_WIRE,TopAbs_FACE); wex.More(); wex.Next())
{
myBounds.Add(wex.Current(),wex.Current());
}
for (TopExp_Explorer eex(S,TopAbs_EDGE,TopAbs_WIRE); eex.More(); eex.Next())
{
myBounds.Add(eex.Current(),eex.Current());
}
for (TopExp_Explorer vex(S,TopAbs_VERTEX,TopAbs_EDGE); vex.More(); vex.Next())
{
myBounds.Add(vex.Current(),vex.Current());
}
// explore the faces
for (TopExp_Explorer fex(S,TopAbs_FACE); fex.More(); fex.Next()) {