mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-07-30 13:05:50 +03:00
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
26 lines
546 B
Plaintext
Executable File
26 lines
546 B
Plaintext
Executable File
|
|
puts "========"
|
|
puts "OCC194"
|
|
puts "(case 1)"
|
|
puts "========"
|
|
puts ""
|
|
###############################################
|
|
##puts "Creating of 2D Rectangular ROTATED Grid WITH Lines"
|
|
##puts "(visual checking for this case is desirable)"
|
|
###############################################
|
|
|
|
v2dinit
|
|
v2dgrid Rect 500 500 200 200 45 Lines
|
|
|
|
set x_coord 25
|
|
set y_coord 361
|
|
set color2d 1
|
|
|
|
checkcolor $x_coord $y_coord 0.49 0.49 0.49
|
|
|
|
if { $stat != 1 } {
|
|
puts "Error : 2D Rectangular ROTATED Grid WITH Lines was NOT CREATED properly"
|
|
}
|
|
|
|
set only_screen2d 1
|