mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +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:
parent
779d6bc6a5
commit
ca9faa284d
@ -207,8 +207,8 @@ Standard_Integer Extrema_FuncExtCS::GetStateNumber()
|
|||||||
Standard_Integer i = 1, nbSol = mySqDist.Length();
|
Standard_Integer i = 1, nbSol = mySqDist.Length();
|
||||||
for( ; i <= nbSol; i++)
|
for( ; i <= nbSol; i++)
|
||||||
{
|
{
|
||||||
Standard_Real aU = myPoint1(i).Parameter();
|
Standard_Real aT = myPoint1(i).Parameter();
|
||||||
if( (myU - aU) * (myU - aU) <= tol2d )
|
if( (myt - aT) * (myt - aT) <= tol2d )
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (i <= nbSol)
|
if (i <= nbSol)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user