mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-01 10:26:12 +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
39 lines
739 B
Plaintext
Executable File
39 lines
739 B
Plaintext
Executable File
puts "========================"
|
|
puts " OCC224 "
|
|
puts "========================"
|
|
puts ""
|
|
#################################################
|
|
##puts "Checking of function V2DUNSETWIDTH for shapes "
|
|
##puts "(visual checking for this case is desirable)"
|
|
#################################################
|
|
|
|
v2dinit
|
|
|
|
psphere s_p 100 360
|
|
set mistake1 0
|
|
v2ddisplay s_p 0 0 0 1 1 1 1 0 0
|
|
v2dfit
|
|
v2dsetwidth s_p VERYTHICK
|
|
|
|
set x_coord 393
|
|
set y_coord 210
|
|
set color2d 1
|
|
|
|
checkcolor $x_coord $y_coord 1 1 0
|
|
|
|
if { $stat != 1 } {
|
|
puts "Error : New widht was NOT assigned"
|
|
}
|
|
|
|
v2dunsetwidth s_p
|
|
|
|
checkcolor $x_coord $y_coord 0 0 0
|
|
|
|
if { $stat != 1 } {
|
|
puts "Error : Function V2DUNSETWIDTH for shapes does NOT WORK properly"
|
|
}
|
|
|
|
set only_screen2d 1
|
|
|
|
|