1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024608: Development of methods of global optimization of multivariable function

math_GlobOptMin - new global optimization minimization algorithm
Extrema_GlobOptFuncCC, Extrema_ExtCC, Extrema_ExtCC2d - implementation of GlobOptMin algorithm to extrema curve / curve
Extrema_CurveCache - deleted as obsolete code
ChFi3d_Builder.cxx  - fixed processing of extrema
math_NewtonMinimum.cxx - fixed step to avoid incorrect behavior
Test cases modification to meet new behavior.
This commit is contained in:
aml
2014-04-15 10:36:52 +04:00
committed by apn
parent 97385d6142
commit 4bbaf12b67
32 changed files with 1319 additions and 1064 deletions

View File

@@ -1158,7 +1158,7 @@ void FindInternalIntersections(const TopoDS_Edge& theEdge,
}
}
}
if (!IntersFound) //intersection is inside "theEdge" => split
if (!IntersFound && aDist <= Precision::Confusion()) //intersection is inside "theEdge" => split
{
gp_Pnt aPoint = aCurve->Value(anIntPar);
if (aPoint.Distance(thePnt[0]) > BRep_Tool::Tolerance(theVertices[0]) &&