1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/perf/modalg/bug28725
2017-05-18 11:57:39 +03:00

24 lines
595 B
Plaintext

puts "========"
puts "OCC28725"
puts "========"
puts ""
#################################################
# Degradation in performance of BRepExtrema_DistShapeShape
#################################################
cpulimit 120
restore [locate_data_file bug28725_holes1.brep] h1
restore [locate_data_file bug28725_holes2.brep] h2
dchrono cr restart
distmini dd h1 h2
dchrono cr stop counter distmini
set dist [dval dd_val]
set expected_dist 1.7021376848002463
set tol_abs_dist 1.0e-07
set tol_rel_dist 0.0
checkreal "Dump of dd_val" ${dist} ${expected_dist} ${tol_abs_dist} ${tol_rel_dist}