File: bug25071

package info (click to toggle)
oce 0.18.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 301,548 kB
  • sloc: cpp: 1,190,609; ansic: 67,225; sh: 11,630; tcl: 7,954; cs: 5,221; python: 2,867; java: 1,522; makefile: 342; xml: 292; perl: 37
file content (31 lines) | stat: -rw-r--r-- 853 bytes parent folder | download | duplicates (6)
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
puts "============"
puts "CR25071"
puts "============"
puts ""
#######################################################################
# Check that the selected wireframe representation uses exactly the same
# discretization of face boundaries as the face outlines shown in shading mode
#######################################################################

vinit View1

# Computing wireframe without triangulation, then checking face boundaries and selection
pcone c 0 5 10
vdisplay c; vfit
vsetdispmode c 1
vshowfaceboundary c 1 64 64 0
vselect 200 200

vdump $imagedir/${casename}_wf_no_triang.png

vremove c
vclose View1
vinit View1

# Computing wireframe after triangulation, then checking face boundaries and selection
vsetdispmode 1
vdisplay c; vfit
vshowfaceboundary c 1 64 64 0
vselect 200 200

vdump $imagedir/${casename}_wf_with_triang.png