mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
Replaced QAMoveTo, QASelect and QAShiftSelect draw commands with vmoveto and vselect Moved vselect and vmoveto draw commands to ViewerTest_ViewerCommands.cxx Replaced QAMoveTo and QASelect in test cases. Corrected returned error case result in vselect and vmoveto. Added commands in ViewerTest_ViewerCommands from QADraw. Edited tests. QACommands in tests were replaced with ViewerTest commands. QAxwd command was removed from QADraw. Edited command wzoom and commands from ViewerTest. Help for ViewerTest commands was edited Small corrections. Added test cases for polygonal selection. Small correction of test cases
27 lines
389 B
Plaintext
Executable File
27 lines
389 B
Plaintext
Executable File
puts "========"
|
|
puts "OCC270"
|
|
puts "========"
|
|
|
|
vinit
|
|
box box 10 10 10
|
|
vaxis axis 1 1 1 7 7 7
|
|
vdisplay box
|
|
vdisplay axis
|
|
vsetdispmode 1
|
|
|
|
set x1 172
|
|
set y1 223
|
|
|
|
checkcolor ${x1} ${y1} 1 0 0
|
|
|
|
vzclipping FRONT
|
|
set ZClippingMode [lindex [vzclipping] 2]
|
|
if {${ZClippingMode} != "FRONT"} {
|
|
puts "OCC270: Error (ZClippingMode != FRONT)"
|
|
}
|
|
|
|
checkcolor ${x1} ${y1} 1 0 0
|
|
vfit
|
|
|
|
set only_screen 1
|