1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-06 10:36:12 +03:00
occt/tests/bugs/vis/bug24388_1
aba e92240458e 0024388: Option to enable visualization of hidden lines in DRAW
Added additional snapshot dumping to /tests/bugs/vis/bug24388_2. Corrected bug24388_1. Corrected vhlr command.
2014-01-20 14:45:30 +04:00

37 lines
772 B
Plaintext

puts "==========="
puts "OCC24388"
puts "==========="
puts ""
##################################################################
# 0024388: Option to enable visualization of hidden lines in DRAW
# Checks if dotted hidden lines are highlighted properly.
##################################################################
box b 15 0 0 10 10 10
vinit
vdisplay b
vrotate 35 0 0
vfit
vhlr on 1
vhlrtype algo a
vmoveto 76 304
set x_coord 115
set y_coord 203
checkcolor $x_coord $y_coord 0 1 1
if { $stat != 1 } {
puts "Error : Highlighting of dotted hidden lines in the box is wrong."
}
set x_coord 122
set y_coord 200
checkcolor $x_coord $y_coord 0 0 0
if { $stat != 1 } {
puts "Error : Highlighting of dotted hidden lines in the box is wrong."
}
set only_screen 1