1 puts "# ==================================================================="
2 puts "# 0027618: Visualization - selection returns entity overlapped by another entity on border cases"
3 puts "# ==================================================================="
6 pload MODELING VISUALIZATION
8 box bb 0*$s 0*$s 0*$s 100*$s 100*$s 50*$s
9 box bt 50*$s 50*$s 25*$s 20*$s 20*$s 40*$s
12 vpoint p0 0*$s 0*$s 0*$s
13 vpoint p1 0*$s 100*$s 50*$s
14 vdisplay -dispMode 1 -highMode 1 bb bt
20 vdisplay -2d topLeft -topmost pp
24 if { [vreadpixel 235 140 rgb name] == "CYAN2" } { puts "Error: top should NOT be highlighted" }
25 if { [vreadpixel 235 190 rgb name] != "CYAN2" } { puts "Error: bottom should be highlighted" }
26 vseldump $imagedir/${casename}_sel_depth.png -type depth
27 vseldump $imagedir/${casename}_sel_entity.png -type entity
33 if { [vreadpixel 235 140 rgb name] == "CYAN2" } { puts "Error: top should NOT be highlighted" }
34 if { [vreadpixel 235 190 rgb name] != "CYAN2" } { puts "Error: bottom should be highlighted" }
36 vseldump $imagedir/${casename}_perps_sel_depth.png -type depth
37 vseldump $imagedir/${casename}_persp_sel_entity.png -type entity