0026106: BRepMesh - revision of data model
[occt.git] / tests / bugs / vis / bug280_3
CommitLineData
a87752f3 1puts "========"
2puts "OCC280"
3puts "3. Fitall on perspective view does not fit all properly"
4puts "========"
5
6vinit
7box b 100 900 300
8vdisplay b
9vsetdispmode b 1
10
11OCC280 0 1
12
b5ac8292 13set x_coord 22
197ac94e 14set y_coord 241
a87752f3 15
16puts "Before View->FitAll()"
a87752f3 17
f1aa2b62 18checkcolor $x_coord $y_coord 0 0 0
a87752f3 19
20vfit
21
22puts "After View->FitAll()"
a87752f3 23
f1aa2b62 24checkcolor $x_coord $y_coord 0.78 0.55 0.9
a87752f3 25
f1aa2b62 26if { $stat != 1 } {
a87752f3 27 puts "Error : Function vfit works wrongly"
28}
29
5747059b 30checkview -screenshot -3d -path ${imagedir}/${test_image}.png