0023062: Incorrect display of edge in draw axo viewer
[occt.git] / tests / bugs / vis / bug451
CommitLineData
352ffd73 1puts "========================"
2puts " OCC451 "
3puts "========================"
4puts ""
5#############################################################
6## puts "Choosing of viewer MODA for selection of VERTEX"
7## puts "(visual checking for this case is desirable)"
8##
9# Selection Modes Activation:
10# 0 - OBJECT, 1 - VERTEX, 2 - ELEMENT, 3 - VERTEX, 4 - NONE
11#############################################################
12
13vertex v1 0 0 0
14vertex v2 10 10 10
15v2dinit
16v2ddisplay v1
17v2ddisplay v2
18v2dfit
19
20set x_coord 49
21set y_coord 361
22set color2d 1
23
24QAv2dSetHighlightMode 3
25QAMoveTo2d 0 0
26QASelect2d $x_coord $y_coord
27
28checkcolor $x_coord $y_coord 0.8 0.8 0.8
29
30if {$stat != 1} {
31 puts "Error : Choosing of viewer MOD for selection of VERTEX was NOT MADE properly"
32}
33
34set only_screen2d 1