0023062: Incorrect display of edge in draw axo viewer
[occt.git] / tests / bugs / vis / bug154_1
CommitLineData
a87752f3 1puts "========"
2puts "OCC154"
3puts "========"
4puts ""
5##############################################################
6##puts "Checking of functions V2DERASEALL and V2DDISPLAYALL "
7##puts "(visual checking for this case is desirable)"
8##############################################################
9v2dinit
10
11box b 1 1 1
12box b1 10 10 10 1 1 1
13v2ddisplay b
14v2ddisplay b1
15v2dfit
16
17v2deraseall
18
f1aa2b62 19set x_coord 370
20set y_coord 37
21set color2d 1
a87752f3 22
f1aa2b62 23checkcolor $x_coord $y_coord 0 0 0
24
25if { $stat != 1 } {
a87752f3 26 puts "Error : Object was not erased"
27}
28
29v2ddisplayall
30
f1aa2b62 31checkcolor $x_coord $y_coord 1 1 0
a87752f3 32
f1aa2b62 33if { $stat != 1 } {
a87752f3 34 puts "Error : Object was not displayed"
35}
36
37set only_screen2d 1
f1aa2b62 38
39