0025132: Visualization - treat any TopoDS_Solid as closed volume
[occt.git] / tests / bugs / vis / bug22018
CommitLineData
3bea4c16 1puts "============"
2puts "OCC22018"
3puts "============"
4puts ""
5#######################################################################
6# Select3D_SensitiveCircle::Matches(): DMin parameter left uninitialized
7#######################################################################
8
9set BugNumber OCC22018
10
11vinit
12
13vpoint p1 -5 0 0
14vpoint p2 0 5 0
15vpoint p3 5 0 0
16
17vcircle c p1 p2 p3 1
18
19vpoint p4 0 0 0
20vpoint p5 5 5 0
21vpoint p6 10 0 0
22
23vcircle c1 p4 p5 p6 1
24
25verase p1 p2 p3 p4 p5 p6
26
27vfit
28vtop
29
30set White_R 1
31set White_G 1
32set White_B 0.94901901483535767
33
34set Select_R 0
35set Select_G 1
36set Select_B 1
37
38set x1 150
39set x2 300
40set y 200
41
42vmoveto 0 0
43vmoveto 0 0
44
45checkcolor ${x1} ${y} ${White_R} ${White_G} ${White_B}
46checkcolor ${x2} ${y} ${White_R} ${White_G} ${White_B}
47
48vmoveto ${x1} ${y}
49vmoveto ${x1} ${y}
50
51checkcolor ${x1} ${y} ${Select_R} ${Select_G} ${Select_B}
52checkcolor ${x2} ${y} ${White_R} ${White_G} ${White_B}
53
54vmoveto ${x2} ${y}
55vmoveto ${x2} ${y}
56
57checkcolor ${x1} ${y} ${White_R} ${White_G} ${White_B}
58checkcolor ${x2} ${y} ${Select_R} ${Select_G} ${Select_B}
59
60set only_screen 1
61