ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/poly_occ/src/poly_voro.h
Revision: 979
Committed: Thu Oct 18 23:40:32 2018 UTC (6 years, 6 months ago) by francois
Content type: text/plain
File size: 538 byte(s)
Log Message:
creation de polycristaux avec OCC

File Contents

# User Rev Content
1 francois 979 #ifndef _POLY_VORO_
2     #define _POLY_VORO_
3    
4     #include <vector>
5    
6     class Poly_Point;
7     class Poly_Cellule;
8    
9     class Poly_Voro
10     {
11     public:
12    
13     Poly_Voro(std::vector<Poly_Point*> list_pnts);
14     ~Poly_Voro();
15    
16     void add_cell(Poly_Cellule* element);
17     Poly_Point* get_point(int num);
18     Poly_Cellule* get_cell(int num);
19    
20     int get_nb_cell(void);
21     void fusion_noeuds(void);
22    
23     protected:
24     std::vector<Poly_Point*> list_points;
25     std::vector<Poly_Cellule*> list_cellules;
26    
27     };
28    
29     #endif // _POLY_VORO_