0027322: geom/revolution_00/A1: Incorrect pcurve creation
[occt.git] / tests / bugs / vis / bug24717
CommitLineData
cddbf6a9 1puts "============"
2puts "OCC24717"
3puts "============"
4puts ""
5####################################################################################
6# TKOpenGl - globally defined clipping planes blink when operating with view
7# Test checks that state of clippings always corresponds to a state of viewed
8# scene.
9####################################################################################
10
11set check_x 204
12set check_y 204
13
14vinit View1
15vsetdispmode 1
16box b 1 1 1
17vdisplay b
18vmoveto $check_x $check_y
19vclipplane create pln1
20vclipplane set pln1 view Driver1/Viewer1/View1
21vclipplane change pln1 equation 0 1 0 0
22vfit
ccadc126 23vaspects -setwidth 5
cddbf6a9 24
ccadc126 25if { "[vreadpixel $check_x $check_y rgb name]" != "CYAN1" } {
cddbf6a9 26 puts "Error : Viewer clipping is broken."
27}
28
29vdump ${imagedir}/${casename}.png