1 puts "================"
3 puts "================"
5 #######################################################################
6 # Intersection of cylinders fails to produce results
7 #######################################################################
11 foreach c [directory result*] {
15 cylinder s1 4.999999999813, 1.35836143386791, 0.20975890778078 -1, 0, 0 0, 0, 1 10
16 cylinder s2 9.999999999813, 9.1401960568287, 0.11837300583107 0, -0.75870713028692, 0.651431877061437 0, -0.651431877061437, -0.75870713028692 5
18 intersect result s1 s2
20 foreach c [directory result*] {
23 if {[dval U2-U1] < 1.0e-9} {
24 puts "Error: Wrong curve's range!"
27 xdistcs $c s1 U1 U2 10 2.0e-7
28 xdistcs $c s2 U1 U2 10 2.0e-7
31 set NbCurv [llength [directory result*]]
33 if { $NbCurv == $GoodNbCurv } {
34 puts "OK: Number of curves is good!"
36 puts "Error: $GoodNbCurv is expected but $NbCurv is found!"
43 checkview -screenshot -2d -path ${imagedir}/${test_image}.png