UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
u2d_grid_cell.hpp
1 /* u2d_grid_cell.hpp */
2 /* $Id: u2d_grid_cell.hpp,v 1.4 2008/05/29 12:13:02 sasha Exp $ */
3 #ifndef __u2d_grid_cell_hpp
4 #define __u2d_grid_cell_hpp
5 
6 
7 #include <mth/u2d_box.hpp>
8 
11 {
13  int m_surfID;
14 
17 };
18 typedef std::vector<U2dOneSurfCell> U2dSurfCells;
19 
20 
23 {
24  union content {
27 
29  U2dSurfCells *c_allSurf;
30 
31  } m_surfInfo;
32 
34  std::vector<int> m_bodies;
35 };
36 
37 
40 {
43 
45  unsigned m_ID;
46 
48  unsigned char m_bodiesNum;
49 
51  unsigned char m_depth;
52 
54  union content {
55 
58 
60  unsigned char c_bodyID;
61 
64 
65  } m_cellContent;
66 
67 };
68 
69 typedef std::vector<U2dGridCell*> U2dGridCellsArray;
70 
71 #endif
Definition: u2d_grid_cell.hpp:22
unsigned char c_bodyID
Definition: u2d_grid_cell.hpp:60
Definition: u2d_grid_cell.hpp:24
U2dGridCell * c_childs[4]
Definition: u2d_grid_cell.hpp:57
unsigned m_ID
Definition: u2d_grid_cell.hpp:45
unsigned char m_bodiesNum
Definition: u2d_grid_cell.hpp:48
Definition: u2d_grid_cell.hpp:10
unsigned char m_depth
Definition: u2d_grid_cell.hpp:51
U2dSurfCell * c_surfCell
Definition: u2d_grid_cell.hpp:63
int m_surfSegID
Definition: u2d_grid_cell.hpp:16
U2dSurfCells * c_allSurf
Definition: u2d_grid_cell.hpp:29
int m_surfID
Definition: u2d_grid_cell.hpp:13
Definition: u2d_box.hpp:8
Definition: u2d_grid_cell.hpp:54
U2dOneSurfCell * c_oneSurf
Definition: u2d_grid_cell.hpp:26
Definition: u2d_grid_cell.hpp:39
std::vector< int > m_bodies
Definition: u2d_grid_cell.hpp:34
U2dBox m_box
Definition: u2d_grid_cell.hpp:42