5 ####################################################################
6 # Intersection of plane and torus misses a result and never produces analytical result
7 ####################################################################
16 set ind [string first "3d curve" $che]
18 #Only variable "res" exists
24 while { $AllowRepeate != 0 } {
25 set che [whatis res_$ic]
26 set ind [string first "3d curve" $che]
31 if { ![regexp "Circle" [dump res_$ic]] } {
32 puts "Error: Intersection result must be circle"
37 checkreal CurveBoundaries [dval U2-U1] [dval 2*pi] 1.0e-10 0.0
39 xdistcs res_$ic s1 U1 U2 10 1.0e-7
40 xdistcs res_$ic s2 U1 U2 10 1.0e-7
45 if {[expr {$ic - 1}] == $GoodNbCurv} {
46 puts "OK: Number of curves is good!"
48 puts "Error: $GoodNbCurv is expected but [expr {$ic - 1}] is found!"
58 checkview -screenshot -2d -path ${imagedir}/${test_image}.png