0031999: Tests - request Core Profile on macOS for Ray-Tracing tests
[occt.git] / tests / bugs / vis / bug26209
CommitLineData
b586500b 1puts "============"
2puts "CR26209"
3puts "============"
4puts ""
5
6##########################################################################################
7puts "Visualization - provide a method to fit view to the specific bounding box"
8##########################################################################################
9
10pload VISUALIZATION MODELING
11
12box b 1 1 1
13vinit View1
14vdisplay b
15vfit
16vselmode b 2 1
17vselmode b 1 1
18
19vselect 330 334
20vfit -selected
21checkcolor 330 334 0 0 0
22checkcolor 330 131 0.8 0.8 0.8
23
24vselect 0 0
25vfit
26
27vselect 29 104
28vselect 204 2 1
29vfit -selected
30checkcolor 29 104 0 0 0
31checkcolor 2 317 0.8 0.8 0.8
32
33vdump ${imagedir}/${casename}.png