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_ |