mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
BVH_BinnedBuilder class corrected to split several objects with null bounding box (e.g. two or more vertices). Test case for issue CR25251
32 lines
690 B
Plaintext
32 lines
690 B
Plaintext
puts "============"
|
|
puts "OCC25251"
|
|
puts "============"
|
|
puts ""
|
|
####################################################################################
|
|
# Visualization - Vertex disappearing from the view after switching display mode
|
|
####################################################################################
|
|
|
|
set check_x 204
|
|
set check_y 204
|
|
|
|
set x 100
|
|
set y 100
|
|
|
|
vinit
|
|
|
|
vertex v 0 0 0
|
|
vdisplay v
|
|
checkcolor ${check_x} ${check_y} 1 1 0
|
|
|
|
vmoveto ${check_x} ${check_y}
|
|
checkcolor ${check_x} ${check_y} 0 1 1
|
|
|
|
vsetdispmode 1
|
|
vmoveto ${check_x} ${check_y}
|
|
checkcolor ${check_x} ${check_y} 1 1 0
|
|
|
|
vmoveto ${x} ${y}
|
|
checkcolor ${check_x} ${check_y} 1 1 0
|
|
|
|
vdump ${imagedir}/${casename}.png
|