0026833: Create command checkview containing all viewer types
[occt.git] / tests / boolean / bcommon_simple / H4
CommitLineData
40093367 1## Extension of /users/skv/testref/cd1/ED/cto/003/D1
2
3dset r sqrt(2)
4dset k r/2
5
6vertex v1 0 0 0
7vertex v2 1 0 0
8vertex v3 1 1 0
9vertex v4 0 1 0
10
11edge e1 v1 v2
12edge e2 v2 v3
13edge e3 v3 v4
14edge e4 v4 v1
15
16wire wa e1 e2 e3 e4
17mkplane fa wa
18prism ba fa 0 0 1
19
20
21vertex v3 -0.25 -0.25 0
22vertex v4 2 -0.25 0
23edge eb v3 v4
24prism fb eb 0 k-0.25 0
25prism bb fb 0 0 1
26
27vertex v5 -0.25 -0.25 0
28vertex v6 2 -0.25 0
29vertex v7 2 k 0
30vertex v8 -0.25 k 0
31
32edge e5 v5 v6
33edge e6 v6 v7
34edge e7 v7 v8
35edge e8 v8 v5
36
37wire wb e5 e6 e7 e8
38mkplane fb wb
39prism bb fb 0 0 1
40
41trotate bb -0.25 -0.25 0 0 0 1 45
42
43
44bcommon result ba bb
45
58cf74e0 46checkprops result -s 4.41421
5747059b 47checkview -display result -2d -s -otherwise { ba bb } -path ${imagedir}/${test_image}.png