0024275: Cppcheck warnings on uninitialized class members
[occt.git] / tests / thrusection / specific / C1
CommitLineData
3bea4c16 1puts "============"
2puts "OCC7166"
3puts "============"
4#######################################################################
5# Improvement of API of ThruSection
6#######################################################################
7set BugNumber OCC7166
8
9ellipse ellipse1 0 0 0 10 5
10mkedge e1 ellipse1
11wire w1 e1
12
13vertex v1 0 0 20
14vertex v2 0 0 -20
15
16set issolid 0
17set isruled 0
18catch {thrusections result ${issolid} ${isruled} v1 w1 v2}
19
20
21set square 1346.42
22
23set nb_v_good 2
24set nb_e_good 3
25set nb_w_good 1
26set nb_f_good 1
27set nb_sh_good 1
28set nb_sol_good 0
29set nb_compsol_good 0
30set nb_compound_good 0
31set nb_shape_good 8
32
33
34
35set index [lsearch [whatis result] Closed]
36if {$index == -1} {
37 puts "Faulty ${BugNumber} : result is not Closed shape"
38
39}
40
41set 3dviewer 0
42