7 #######################################################################
8 # Intersection of cone with plane in apex point crashes
9 #######################################################################
11 set BugNumber OCC20766
13 OCC20766 plane 1 0 0 3522.4299999999998
15 set x -3522.4299999999998
17 set z -1461.4300000000001
18 set dx 5449.7857099692965
20 set dz 5537.6938973109054
21 set PI180 0.017453292519943295
22 set semi-angle [expr 0.46689346637921703 / ${PI180}]
25 cone c ${x} ${y} ${z} ${dx} ${dy} ${dz} ${semi-angle} ${radius}
27 if [catch { intersect result plane c } ] {
28 puts "Faulty ${BugNumber} : intersect is wrong"
30 puts "OK ${BugNumber}"
33 checkview -display result -2d -path ${imagedir}/${test_image}.png