File: bug11615

package info (click to toggle)
oce 0.15-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 302,472 kB
  • ctags: 210,903
  • sloc: cpp: 1,165,052; ansic: 75,256; sh: 11,901; tcl: 4,488; python: 2,867; makefile: 337; perl: 37; csh: 12
file content (42 lines) | stat: -rwxr-xr-x 728 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
puts "============"
puts "OCC11615"
puts "============"
puts ""
######################################################
# Anisotropic scaling in 3D view
######################################################

set BugNumber OCC11615

box b 10 10 10
vinit
vdisplay b
vfit
vscale 1 1 1

set x1 [list 165 340 70]
set y1 [list 384 283 79]

puts ""
for {set i 0} {$i < 3} {incr i} {
   set x_coord [lindex ${x1} $i]
   set y_coord [lindex ${y1} $i]

   checkcolor $x_coord $y_coord 1 1 0
}

vscale 0.5 1.5 0.7
vfit

set x2 [list 80 390 25]
set y2 [list 390 218 167]

puts ""
for {set i 0} {$i < 3} {incr i} {
   set x_coord [lindex ${x2} $i]
   set y_coord [lindex ${y2} $i]

   checkcolor $x_coord $y_coord 1 1 0
}

set only_screen 1