1puts "========"
2puts "OCC28725"
3puts "========"
4puts ""
5#################################################
6# Degradation in performance of BRepExtrema_DistShapeShape
7#################################################
8
9cpulimit 120
10
11restore [locate_data_file bug28725_holes1.brep] h1
12restore [locate_data_file bug28725_holes2.brep] h2
13
14dchrono cr restart
15distmini dd h1 h2
16dchrono cr stop counter distmini
17
18set dist [dval dd_val]
19
20set expected_dist 1.7021376848002463
21set tol_abs_dist 1.0e-07
22set tol_rel_dist 0.0
23checkreal "Dump of dd_val" ${dist} ${expected_dist} ${tol_abs_dist} ${tol_rel_dist}
24