0026106: BRepMesh - revision of data model
[occt.git] / tests / bugs / vis / bug26217
CommitLineData
14cda02f 1puts "============"
2puts "CR26217"
3puts "============"
4puts ""
5
6##########################################################################################
7puts "Visualization, Select3D_SensitiveCircle - fix compilation with CLang for iOS"
8##########################################################################################
9
10pload VISUALIZATION
11
12vinit View1
13vpoint radP1 0 0 0
14vpoint radP2 50 50 0
15vpoint radP3 100 0 0
16vcircle circle radP1 radP2 radP3 1
17vfit
18
19vselect 40 120 185 320
20set aColor [vreadpixel 120 200 rgb name]
21if {$aColor != "DARKGOLDENROD3"} {
22 puts "ERROR: the circle is selected with no overlap mode activated"
23}
24
25vselect 0 0
26
27vselect 40 120 185 320 -allowoverlap 1
28set aColor [vreadpixel 120 200 rgb name]
f9ba5c4d 29if {$aColor != "GRAY66"} {
14cda02f 30 puts "ERROR: the circle is not selected with overlap mode activated"
31}
32
33vdump ${imagedir}/${casename}.png