5 ###########################################################
6 # Wrong intersection between a surface of revolution and a plane.
7 ###########################################################
12 restore [locate_data_file bug22766_f1] f1
13 restore [locate_data_file bug22766_f2] f2
15 set log [bopcurves f1 f2 -2d]
17 regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} ${log} full Toler NbCurv
19 if {${NbCurv} != ${NbCurv_OK}} {
20 puts "Error: ${NbCurv_OK} curve(s) expected, but ${NbCurv} found."
23 checkreal TolReached ${Toler} ${MaxTol} 0.0 0.1
28 for { set i 1 } { $i <= $NbCurv } { incr i } {
37 checkmaxtol rs -ref $MaxTol
38 checkprops rs -l 111.803
45 checkview -screenshot -2d -path ${imagedir}/${test_image}.png