1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/vis/bug23539_1
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

29 lines
687 B
Plaintext

puts "============"
puts "CR23539"
puts "============"
puts ""
######################################################
# Test case for polygonal selection
######################################################
box b 10 10 10
vinit
vdisplay b
vfit
vselmode 2 1
vselect 1 1 1 407 407 407 407 1
set NbSelected1 [vnbselected]
if { ${NbSelected1} != 12 } {
puts "Error : Bad number of selected edges after polygonal selection of all edges"
}
vselect 10 10 10 20 20 20 20 10
set NbSelected2 [vnbselected]
if { ${NbSelected2} != 0 } {
puts "Error : Bad number of selected edges after polyginal selection of empty space"
}
checkview -screenshot -3d -path ${imagedir}/${test_image}.png