mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0024988: Wrong result done by projection algorithm
Wrong border 1.0e-9 jump has deleted. Added periodicity information when projecting to surface. Period "jump" bug fixes. AppCont_LeastSquare conversion to non cdl class. AppCont_Function + AppCont_FunctionTool combined in one class providing the same functionality and converted to non cdl. Testcase modification. Test cases for issue CR24988 Fixed incorrect comparison.
This commit is contained in:
@@ -1466,7 +1466,7 @@ static void ChoixUV(const TopoDS_Edge& Last,
|
||||
ang = -M_PI;
|
||||
}
|
||||
|
||||
if ((dist < tol) && (ang > angmax)) {
|
||||
if ((dist - tol < Epsilon(1.0)) && (ang > angmax)) {
|
||||
imin = index;
|
||||
angmax = ang;
|
||||
}
|
||||
|
Reference in New Issue
Block a user