occt: master f79b19a1

Author Committer Branch Timestamp Parent
aml apn master 2016-12-15 13:32:52 master 640d5fe2
Changeset 0028175: Bad result of curve-curve extrema

Extrema between curves has been made producing correct result for the cases of solution located near bounds.

- Class math_GlobOptMin has been improved to use lower order methods of local optimization when high-order methods are failed.
- Add support of conditional optimization (in bounds) in the classes math_BFGS and math_BracketMinimum.
- Turn on conditional optimization in the case of usage of math_BFGS in the class math_GlobOptMin.
- Correct mistake in distmini command, which caused incorrect reading of deflection parameter.
- To avoid possible FPE signals, ensure initialization of fields in the class math/math_BracketMinimum.
- In the algorithms math_BFGS, math_Powell and math_FRPR, take into account that the function math_MultipleVarFunction can return failure status (e.g. when computing D0 out of bounds).

New test cases have been added.
Tests cases are updated.

// correct test case
mod - src/BRepTest/BRepTest_ExtremaCommands.cxx Diff File
mod - src/math/math_BFGS.cxx Diff File
mod - src/math/math_BFGS.hxx Diff File
mod - src/math/math_BracketMinimum.cxx Diff File
mod - src/math/math_BracketMinimum.hxx Diff File
mod - src/math/math_BracketMinimum.lxx Diff File
mod - src/math/math_FRPR.cxx Diff File
mod - src/math/math_GlobOptMin.cxx Diff File
mod - src/math/math_NewtonMinimum.cxx Diff File
mod - src/math/math_NewtonMinimum.hxx Diff File
mod - src/math/math_Powell.cxx Diff File
mod - tests/bugs/fclasses/bug25635_1 Diff File
mod - tests/bugs/modalg_5/bug23706_10 Diff File
add - tests/bugs/moddata_3/bug28175 Diff File
add - tests/bugs/moddata_3/bug28175_1 Diff File
add - tests/bugs/moddata_3/bug28182 Diff File
add - tests/bugs/moddata_3/bug28183 Diff File