0027341: Incorrect exact HLR results
[occt.git] / tests / bugs / modalg_6 / bug26484
CommitLineData
debc95ee 1puts "=========="
2puts "OCC26484"
3puts "=========="
4puts ""
5###########################################
6# BRepExtrema_DistShapeShape hangs
7###########################################
8
9restore [locate_data_file bug26484_shape.brep] s1
10restore [locate_data_file bug26484_face.brep] s2
11distmini dd s1 s2
12dump dd_val
13
14distmini dd s2 s1
15regexp {([-0-9.+eE]+)$} [dump dd_val] full dist
16
17set expected_dist 13.2039203316305
18set tol_abs_dist 1.0e-07
19set tol_rel_dist 0.01
20checkreal "Dump of dd_val" ${dist} ${expected_dist} ${tol_abs_dist} ${tol_rel_dist}