puts "========" puts "OCC192" puts "========" puts "" ######################################################### ##puts "Selection of NODE of ROTATED 2D Circular Grid WITHOUT Lines" ##puts "(visual checking for this case is desirable)" ######################################################### v2dinit v2dgrid Circ 500 500 250 12 30 Points set rd_ch 70196 set gr_ch 70196 set bl_ch 70196 set Position_X -862.436 set Position_Y -598.303 set color [QAAISGetPixelColor2d 28 326] regexp {RED +: +([-0-9.+eE]+)} $color full rd regexp {GREEN +: +([-0-9.+eE]+)} $color full gr regexp {BLUE +: +([-0-9.+eE]+)} $color full bl set rd_int [expr int($rd * 1.e+05)] set gr_int [expr int($gr * 1.e+05)] set bl_int [expr int($bl * 1.e+05)] if { ${rd_int} != ${rd_ch} || ${gr_int} != ${gr_ch} || ${bl_int} != ${bl_ch} } { puts "Error : colors are not equal" puts "Error : Objects was not displayed" } v2dpickgrid 28 326 x_coord y_coord if { ${x_coord} != ${Position_X} || ${y_coord} != ${Position_Y} } { puts "Error : Function v2dpickgrid works wrongly" } set only_screen2d 1