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

@@ -608,16 +608,23 @@ void AppBlend_AppSurf::Perform(const Handle(TheLine)& Lin,
for(i = 1; i <= NbPointTot; i++){
F.Section(Lin->Point(i),tabAppP,tabAppV,tabP2d,tabV2d,tabW,tabDW);
Standard_Real x,y,z;
for(j = 1; j <= NbUPoles; j++){
for (j = 1; j <= NbUPoles; j++)
{
tabAppP(j).Coord(x,y,z);
if(x < X) X = x; if(x > DX) DX = x;
if(y < Y) Y = y; if(y > DY) DY = y;
if(z < Z) Z = z; if(z > DZ) DZ = z;
if(x < X) { X = x; }
if(x > DX) { DX = x; }
if(y < Y) { Y = y; }
if(y > DY) { DY = y; }
if(z < Z) { Z = z; }
if(z > DZ) { DZ = z; }
}
for(j = 1; j <= NbPoles2d; j++){
for (j = 1; j <= NbPoles2d; j++)
{
tabP2d(j).Coord(x,y);
if(x < X2d(j)) X2d(j) = x; if(x > DX2d(j)) DX2d(j) = x;
if(y < Y2d(j)) Y2d(j) = y; if(y > DY2d(j)) DY2d(j) = y;
if(x < X2d (j)) { X2d (j) = x; }
if(x > DX2d(j)) { DX2d(j) = x; }
if(y < Y2d (j)) { Y2d (j) = y; }
if(y > DY2d(j)) { DY2d(j) = y; }
}
}
// On calcule pour chaque ligne la transformation vers 0 1.