1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/lowalgos/extcc/bug29858_01
aml 94beb42a68 0029858: Modeling Data - Regression in GeomAPI_ExtremaCurveCurve
Fix Newton's minimum projection algorithm onto boundaries in case of conditional optimization.
Add possibility to detect several optimal points at initialization of the math_GlobOptMin.
2019-09-09 19:26:39 +03:00

21 lines
472 B
Plaintext

puts "========"
puts "OCC29858"
puts "========"
puts ""
#################################################
# Regression in GeomAPI_ExtremaCurveCurve
#################################################
# Read input
restore [locate_data_file bug29858_01_e1.brep] e1
restore [locate_data_file bug29858_01_e2.brep] e2
# Extract geometry from topology
mkcurve c1 e1
mkcurve c2 e2
# Run extrema
extrema c1 c2
# Check result
checklength ext_1 -l 9.4224516867962155e-10 -eps 0.01