puts "============"
puts "OCC24867"
puts "============"
puts ""
#############################################################
# [Regression] Visualization - polygon offsets look broken
#############################################################

restore [locate_data_file Top.brep] b
vinit View1
vdisplay b
vfit
vsetdispmode 1
vmoveto 200 200

set x1_coord 264
set y1_coord 288
set x2_coord 251
set y2_coord 271

checkcolor $x1_coord $y1_coord 0 1 1
if { $stat != 1 } {
  puts "Error : Highlighting of dimension with flipping in local context failed."
}

checkcolor $x2_coord $y2_coord 0 1 1
if { $stat != 1 } {
  puts "Error : Highlighting of dimension with flipping in local context failed."
}

vdump $::imagedir/${::casename}_highlighted.png

vselect 200 200
vdump $::imagedir/${::casename}_selected.png

