5 ######################################################
6 # Intersection curve surface doesn't take account of bounds of the surface
7 ######################################################
20 if [catch {intersect res ll nc} result] {
27 puts "${BugNumber} OK : intersection was finished"
32 set che [whatis res_$j]
33 set err [lindex $che [expr [llength $che] - 1]]
34 if { $err != "point"} {
37 set nom [expr $nom + 1]
42 puts [format "Faulty ${BugNumber}: Intersection was made WRONGLY: %s points" $nom]
44 puts [format "${BugNumber} OK : Intersection command works properly: %s points" $nom]
46 set dump1 [dump res_1]
47 set x1 [lindex ${dump1} 7]
48 set y1 [lindex ${dump1} 8]
49 set z1 [lindex ${dump1} 9]
50 set x1 [string range ${x1} 0 end-1]
51 set y1 [string range ${y1} 0 end-1]
53 set dump2 [dump res_2]
54 set x2 [lindex ${dump2} 7]
55 set y2 [lindex ${dump2} 8]
56 set z2 [lindex ${dump2} 9]
57 set x2 [string range ${x2} 0 end-1]
58 set y2 [string range ${y2} 0 end-1]
60 set GoodX1 1.154700538379251e+01
61 set GoodY1 0.000000000000000e+00
62 set GoodZ1 2.000000000000000e+01
63 set GoodX2 -1.154700538379251e+01
64 set GoodY2 0.000000000000000e+00
65 set GoodZ2 2.000000000000000e+01
67 checkreal "x1" ${x1} ${GoodX1} 0 0.001
68 checkreal "y1" ${y1} ${GoodY1} 0 0.001
69 checkreal "z1" ${z1} ${GoodZ1} 0 0.001
70 checkreal "x2" ${x2} ${GoodX2} 0 0.001
71 checkreal "y2" ${y2} ${GoodY2} 0 0.001
72 checkreal "z2" ${z2} ${GoodZ2} 0 0.001
75 puts "Faulty ${BugNumber} : intersection does not finished"