0024275: Cppcheck warnings on uninitialized class members
[occt.git] / tests / thrusection / specific / G1
CommitLineData
3bea4c16 1puts "TODO OCC7166 ALL: Faulty OCC7166 : result is not Closed shape"
2puts "TODO OCC7166 ALL: The resulting shape is WRONG "
3puts "TODO OCC7166 ALL: Error : The square of the resulting shape is"
4
5puts "============"
6puts "OCC7166"
7puts "============"
8puts ""
9#######################################################################
10# Improvement of API of ThruSection
11#######################################################################
12
13set BugNumber OCC7166
14
15pbsplinecurve pbc1 3 9 0 1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 -1 0 0 1 -2 2 0 1 0 1 0 1 2 2 0 1 1 0 0 1 2 -2 0 1 0 -1 0 1 -2 -2 0 1
16mkedge e1 pbc1
17wire w1 e1
18
19#vertex v1 40 0 20
20#vertex v2 40 0 -20
21circle c1 40 0 20 0 0 -1 -1 1 0 0.1
22mkedge ec1 c1
23wire wc1 ec1
24
25circle c2 40 0 -20 0 0 -1 -1 1 0 0.1
26mkedge ec2 c2
27wire wc2 ec2
28
29set issolid 0
30set isruled 0
31#catch {thrusections result ${issolid} ${isruled} v1 w1 v2}
32catch {thrusections result ${issolid} ${isruled} wc1 w1 wc2}
33
34
35set square 702.858
36
37set nb_v_good 4
38set nb_e_good 6
39set nb_w_good 2
40set nb_f_good 2
41set nb_sh_good 1
42set nb_sol_good 0
43set nb_compsol_good 0
44set nb_compound_good 0
45set nb_shape_good 15
46
47
48
49set index [lsearch [whatis result] Closed]
50if {$index == -1} {
51 puts "Faulty ${BugNumber} : result is not Closed shape"
52
53}
54
55set 3dviewer 0
56