0031189: Draw Harness, ViewerTest - send messages to Message::DefaultMessenger()
[occt.git] / tests / bugs / vis / bug26217
1 puts "============"
2 puts "CR26217"
3 puts "============"
4 puts ""
5
6 ##########################################################################################
7 puts "Visualization, Select3D_SensitiveCircle - fix compilation with CLang for iOS"
8 ##########################################################################################
9
10 pload VISUALIZATION
11
12 vinit View1
13 vpoint radP1 0 0 0
14 vpoint radP2 50 50 0
15 vpoint radP3 100 0 0
16 vcircle circle radP1 radP2 radP3 1
17 vfit
18
19 vselect 40 120 185 320
20 if {[vreadpixel 120 200 rgb name] != "DARKGOLDENROD"} { puts "ERROR: the circle is selected with no overlap mode activated" }
21
22 vselect 0 0
23
24 vselect 40 120 185 320 -allowoverlap 1
25 if {[vreadpixel 120 200 rgb name] != "GRAY73"} { puts "ERROR: the circle is not selected with overlap mode activated" }
26
27 vdump ${imagedir}/${casename}.png