1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-06 10:36:12 +03:00
occt/tests/bugs/vis/bug193
apn f1aa2b6272 Adding new testing cases for chl grid
Adding procedures checkcolor and checkpoint.
Modified test cases which are used QAGetPixelColor or QAAISGetPixelColor2d
Allow using command QAAISGetPixelColor2d on WNT
Rename test case tests/bugs/vis/bug19619 to pro19619
Added test cases to modalg and moddata
2012-12-14 16:56:11 +04:00

34 lines
700 B
Plaintext
Executable File

puts "========"
puts "OCC193"
puts "========"
puts ""
##################################################
##puts "Selection of NODE of ROTATED 2D Circular Grid WITH Lines"
##puts "(visual checking for this case is desirable)"
##################################################
v2dinit
v2dgrid Circ 500 500 250 12 30 Lines
set Position_X -667.802
set Position_Y -441.402
set x_coord 67
set y_coord 295
set color2d 1
checkcolor $x_coord $y_coord 0.49 0.49 0.49
if { $stat != 1 } {
puts "Error : Objects was not displayed"
}
v2dpickgrid 67 295 x_ch y_ch
if { ${x_ch} != ${Position_X} || ${y_ch} != ${Position_Y} } {
puts "Error : Function v2dpickgrid works wrongly"
}
set only_screen2d 1