0028567: Get rid of the unused DRAW commands based on old Boolean Operations (BRepAlgo)
[occt.git] / tests / bugs / modalg_1 / bug12661
1 puts "================"
2 puts "OCC12661"
3 puts "================"
4 puts ""
5 #######################################################################################
6 # Wrong calculation of bnd box for edge if edge has polygon of triangulation
7 #######################################################################################
8
9 set BugNumber OCC12661
10
11 restore [locate_data_file OCC12661.brep] result
12 set res [bounding result]
13
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]
20
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
27
28 checkview -display result -2d -path ${imagedir}/${test_image}.png
29