mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-02 17:46:22 +03:00
OCC22329 Skipped extrema for a point and a circle at about 0 parameter
This commit is contained in:
parent
9ba380fab3
commit
416cd0b7ae
@ -115,8 +115,8 @@ Methode:
|
||||
TolU= Tol/aR;
|
||||
}
|
||||
//modified by NIZNHY-PKV Fri Apr 20 15:03:32 2001 t
|
||||
ElCLib::AdjustPeriodic(Uinf, Uinf+2*PI, Precision::PConfusion(), myuinf, Usol[0]);
|
||||
ElCLib::AdjustPeriodic(Uinf, Uinf+2*PI, Precision::PConfusion(), myuinf, Usol[1]);
|
||||
ElCLib::AdjustPeriodic(Uinf, Uinf+2*PI, TolU, myuinf, Usol[0]);
|
||||
ElCLib::AdjustPeriodic(Uinf, Uinf+2*PI, TolU, myuinf, Usol[1]);
|
||||
if (((Usol[0]-2*PI-Uinf) < TolU) && ((Usol[0]-2*PI-Uinf) > -TolU)) Usol[0] = Uinf;
|
||||
if (((Usol[1]-2*PI-Uinf) < TolU) && ((Usol[1]-2*PI-Uinf) > -TolU)) Usol[1] = Uinf;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user