1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0029448: The method Extrema_FuncExtCS::GetStateNumber mixes up parameter on curve with parameter U on surface

The code has been corrected to eliminate the mess.
This commit is contained in:
msv 2018-01-25 12:00:46 +03:00 committed by apn
parent 779d6bc6a5
commit ca9faa284d

View File

@ -207,8 +207,8 @@ Standard_Integer Extrema_FuncExtCS::GetStateNumber()
Standard_Integer i = 1, nbSol = mySqDist.Length();
for( ; i <= nbSol; i++)
{
Standard_Real aU = myPoint1(i).Parameter();
if( (myU - aU) * (myU - aU) <= tol2d )
Standard_Real aT = myPoint1(i).Parameter();
if( (myt - aT) * (myt - aT) <= tol2d )
break;
}
if (i <= nbSol)