5 ##################################
6 # Intersection of two cylindrical surfaces fails
7 ##################################
9 cylinder c1 1031.3339148728076 -113.25868616662650 56.152387686082520 -0.86602540378443815 0.50000000000000089 0.0 -0.50000000000000089 -0.86602540378443815 0.0 76.499999999999986
10 cylinder c2 1017.0706583606553 -103.24955863669388 56.152387686082548 0.86602540378443915 -0.49999999999999933 0.0 0.49999999999999933 0.86602540378443915 0.0 76.499999999999986
12 if { [catch {set info [intersect r c1 c2 1e-7]} catch_result] } {
13 puts "Error: The intersection of two cylindrical surfaces causes an exception"
16 # Number of solutions check.
17 # There should be only 2 solution.
18 if {[llength $info] != 2} {
19 Error: Incorrect number of solutions.
26 checkview -screenshot -2d -path ${imagedir}/${test_image}.png