puts "TODO OCC641 ALL: An exception was caught"
puts "TODO OCC641 ALL: \\*\\* Exception \\*\\*.*"
puts "TODO OCC641 ALL: Error : result shape is displayed wrongly"

puts "================"
puts "OCC641"
puts "SAM1559"
puts "================"
puts ""
#################################################
## Exception during attemption to display shape ==>SAM1559 (#2901)
#################################################

restore [locate_data_file OCC641.brep] a

vinit
vdisplay a
vfit

copy a result

if [catch {tmirror result 0 0 0 0 1 0 } res] {
   puts "Error : function tmirror works wrongly"
} else {
   if [catch { vdisplay result } res] {
      puts "Error : result shape is displayed wrongly"
   }
   vfit
}

set only_screen 1

