1 puts "================"
3 puts "================"
5 #######################################################################
6 # Intersection of two cylinders fails
7 #######################################################################
13 foreach c [directory result*] {
17 cylinder s1 -9 -5 -2.2058 0 -1 0 0.001
18 cylinder s2 0 0 -2.2058 0 0 -1 9
20 intersect result s1 s2
22 foreach c [directory result*] {
25 if {[dval U2-U1] < 1.0e-9} {
26 puts "Error: Wrong curve's range!"
29 xdistcs $c s1 U1 U2 10 2.0e-7
30 xdistcs $c s2 U1 U2 10 2.0e-7
33 set NbCurv [llength [directory result*]]
35 if { $NbCurv == $GoodNbCurv } {
36 puts "OK: Number of curves is good!"
38 puts "Error: $GoodNbCurv is expected but $NbCurv is found!"
46 checkview -screenshot -2d -path ${imagedir}/${test_image}.png