0027704: Numeric inaccuracy due to huge extension of the offset faces
[occt.git] / tests / bugs / vis / bug22332
CommitLineData
e187cc0a 1puts "============"
2puts "OCC22332"
3puts "============"
4puts ""
5
6######################################################
7#
8######################################################
9
10set BUGNUMBER OCC22332
11
12vinit
13vclear
14box b 100 100 100
15vsetdispmode b 1
16vdisplay b
17vtrihedron tri
18vfit
19
20vmoveto 0 0
21
22# TEST LINEWIDTH
23# draw a 10px horizontal line at (10,10) - (400,10)
24vlayerline 10 10 400 10 10
25
26checkcolor 15 5 1 0 0
27checkcolor 15 13 1 0 0
28checkcolor 15 14 0 0 0
29
30# TEST LINETYPE
31# draw a slashed 10px horizontal line at (10,10) - (400,10)
32vlayerline 10 10 400 10 10 1
33
34checkcolor 23 10 1 0 0
35checkcolor 25 10 1 0 0
36checkcolor 26 10 0 0 0
37checkcolor 30 10 0 0 0
38checkcolor 32 10 1 0 0
39
5747059b 40checkview -screenshot -3d -path ${imagedir}/${test_image}.png
e187cc0a 41