mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
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.
21 lines
388 B
Plaintext
Executable File
21 lines
388 B
Plaintext
Executable File
puts "========================"
|
|
puts "BUC60825"
|
|
puts "========================"
|
|
|
|
pload QAcommands
|
|
|
|
line aLine 0 0 0 0 0 1
|
|
mkedge aEdge1 aLine
|
|
restore [locate_data_file buc60825.brep] aEdge2
|
|
checkshape aEdge2
|
|
|
|
distmini d aEdge1 aEdge2
|
|
regexp {NB RESULTS +: +([-0-9.+eE]+)} [BUC60825 aEdge1 aEdge2] full ext
|
|
if { $ext != 1 } {
|
|
puts "Error : The extrema has not been calculated."
|
|
}
|
|
|
|
|
|
|
|
|