ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/reconstruction/src/sq_jonction.h
Revision: 1090
Committed: Sun Jan 30 13:24:27 2022 UTC (3 years, 6 months ago) by amroune
Content type: text/plain
File size: 1062 byte(s)
Log Message:
Ajout de la derniere partie du code

File Contents

# Content
1 #ifndef _SQ_JONCTION_
2 #define _SQ_JONCTION_
3
4 #include "sq_branche.h"
5
6 class SQ_INTERFACE;
7 class SQ_RACCORD;
8
9 class SQ_JONCTION
10 {
11 public:
12 SQ_JONCTION();
13 SQ_JONCTION(SQ_JONCTION& mdd);
14 virtual ~SQ_JONCTION();
15
16 SQ_NOEUD* get_no_jonc();
17 SQ_BRANCHE* get_branche(int i);
18 int get_nb_branches();
19 SQ_INTERFACE* get_interface(int i);
20 int get_nb_interfaces();
21 SQ_RACCORD* get_raccord(int i);
22 int get_nb_raccords();
23 TopoDS_Shape get_remplissage(int i);
24 int get_nb_remplissages();
25 TopoDS_Shape get_joncsolid();
26
27
28 void change_no_jonction(SQ_NOEUD* nojonction);
29 void ajouter_branche(SQ_BRANCHE* branche);
30 void ajouter_interface(SQ_INTERFACE* interface);
31 void ajouter_raccord(SQ_RACCORD* raccord);
32 void ajouter_remplissage(TopoDS_Shape remplissage);
33 void change_joncsolid(TopoDS_Shape JoncSolid);
34
35 protected:
36 SQ_NOEUD* NoJonc;
37 std::vector<SQ_BRANCHE*> Lstbranche;
38 std::vector<SQ_INTERFACE*> LstInterfaces;
39 std::vector<SQ_RACCORD*> LstRaccords;
40 std::vector<TopoDS_Shape> LstRemplissages;
41 TopoDS_Shape JonctionSolid;
42
43 };
44 #endif