1
0
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:
aml
2014-12-04 15:04:22 +03:00
committed by bugmaster
parent e8feb725a4
commit 368cdde60e
37 changed files with 1164 additions and 1704 deletions

View File

@@ -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;
}