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

0031615: Coding - New warnings after integration fix for 0031552

This commit is contained in:
ifv
2020-06-18 10:31:06 +03:00
committed by bugmaster
parent dccf867561
commit 003c363cf4

View File

@@ -2694,7 +2694,7 @@ static IntPatch_ImpImpIntersection::IntStatus
// //
Standard_Boolean isGoodIntersection = Standard_False; Standard_Boolean isGoodIntersection = Standard_False;
Standard_Real anOptdu = 0.; Standard_Real anOptdu = 0.;
do for (;;)
{ {
//Checking parameters of cylinders in order to define "good intersection" //Checking parameters of cylinders in order to define "good intersection"
//"Good intersection" means that axes of cylinders are almost perpendicular and //"Good intersection" means that axes of cylinders are almost perpendicular and
@@ -2744,8 +2744,8 @@ static IntPatch_ImpImpIntersection::IntStatus
aNbP = (Standard_Integer)(2. * M_PI / anAngle) + 1; aNbP = (Standard_Integer)(2. * M_PI / anAngle) + 1;
} }
anOptdu = 2. * M_PI_2 / (Standard_Real)(aNbP - 1); anOptdu = 2. * M_PI_2 / (Standard_Real)(aNbP - 1);
break;
} while (0); }
// //
const ComputationMethods::stCoeffsValue &anEquationCoeffs = theBW.SICoeffs(); const ComputationMethods::stCoeffsValue &anEquationCoeffs = theBW.SICoeffs();
const IntSurf_Quadric& aQuad1 = theBW.GetQSurface(1); const IntSurf_Quadric& aQuad1 = theBW.GetQSurface(1);