1 puts "================"
3 puts "================"
5 #######################################################################################
6 # Incorrect calculation of bounding box for infinite surfaces
7 #######################################################################################
13 set info_result [bounding f]
15 set x1 [lindex ${info_result} 0]
16 set y1 [lindex ${info_result} 1]
17 set z1 [lindex ${info_result} 2]
18 set x2 [lindex ${info_result} 3]
19 set y2 [lindex ${info_result} 4]
20 set z2 [lindex ${info_result} 5]
24 set good_z1 -9.9999999999999995e-08
27 set good_z2 9.9999999999999995e-08
29 checkreal "x1" ${x1} ${good_x1} 0 0.001
30 checkreal "y1" ${y1} ${good_y1} 0 0.001
31 checkreal "z1" ${z1} ${good_z1} 0 0.001
32 checkreal "x2" ${x2} ${good_x2} 0 0.001
33 checkreal "y2" ${y2} ${good_y2} 0 0.001
34 checkreal "z2" ${z2} ${good_z2} 0 0.001