0030202: IntPatch_WLineTool::JoinWLines array out of bounds
[occt.git] / tests / bugs / modalg_7 / bug24772
CommitLineData
dfdfa61f 1puts "========"
2puts "OCC24772"
3puts "========"
4puts ""
5################################################################
6# Intersection of cylinder and cone produces incorrect results
7################################################################
8
9restore [locate_data_file bug24772_s1.draw] s1
10restore [locate_data_file bug24772_s2.draw] s2
11
12smallview +X+Y
13fit
14zoom 6
15
16set bug_info [intersect r s1 s2]
17
18if {[llength $bug_info] != 4} {
19# puts "ERROR: OCC24722 is reproduced."
20} else {
21 # snapshot r_1
22 clear
23 display s1
24 display s2
25 display r_1
26 xwd $imagedir/${casename}_r_1.png
27 # snapshot r_2
28 clear
29 display s1
30 display s2
31 display r_2
32 xwd $imagedir/${casename}_r_2.png
33 # snapshot r_3
34 clear
35 display s1
36 display s2
37 display r_3
38 xwd $imagedir/${casename}_r_3.png
39 # snapshot r_4
40 clear
41 display s1
42 display s2
43 display r_4
44 xwd $imagedir/${casename}_r_4.png
45}