1 puts "================"
3 puts "================"
5 #######################################################################################
6 # Wrong calculation of bnd box for edge if edge has polygon of triangulation
7 #######################################################################################
11 restore [locate_data_file OCC12661.brep] result
12 set res [bounding result]
14 set x1 [lindex ${res} 0]
15 set y1 [lindex ${res} 1]
16 set z1 [lindex ${res} 2]
17 set x2 [lindex ${res} 3]
18 set y2 [lindex ${res} 4]
19 set z2 [lindex ${res} 5]
21 checkreal "x1" ${x1} -6.3659273065258741 0 0.001
22 checkreal "y1" ${y1} 0.7051405053395956 0 0.001
23 checkreal "z1" ${z1} -2.5792617865186296 0 0.001
24 checkreal "x2" ${x2} 6.3659273065258795 0 0.001
25 checkreal "y2" ${y2} 7.6599592236605769 0 0.001
26 checkreal "z2" ${z2} 3.0815250146676485 0 0.001
28 checkview -display result -2d -path ${imagedir}/${test_image}.png