Rev | Line | |
---|
[774] | 1 | #ifndef HOJA_H
|
---|
| 2 | #define HOJA_H
|
---|
| 3 |
|
---|
| 4 |
|
---|
| 5 | class Hoja
|
---|
| 6 | {
|
---|
| 7 | public :
|
---|
| 8 | // Variable members
|
---|
[832] | 9 | int Vert_Hoja[4];// Array of pointers to vertices
|
---|
| 10 | float Normal[3];
|
---|
| 11 | float Cuantas_hojas;
|
---|
[834] | 12 | float Centro[3];
|
---|
[832] | 13 | int padre;
|
---|
| 14 | int hijoi;
|
---|
| 15 | int hijod;
|
---|
| 16 | int visible;
|
---|
| 17 | int raiz;
|
---|
[834] | 18 |
|
---|
| 19 | bool existe;
|
---|
| 20 | int hoja_cerca;
|
---|
| 21 | float dist;
|
---|
| 22 | long int hoja_cop;
|
---|
| 23 | float coplanar;
|
---|
| 24 | float criterio;
|
---|
| 25 | long int hoja_crit;
|
---|
| 26 |
|
---|
[832] | 27 |
|
---|
[834] | 28 | // Identificadores de los triángulos que forman la hoja
|
---|
| 29 | long int id_triangulo[2];
|
---|
| 30 |
|
---|
[774] | 31 | public :
|
---|
| 32 | // Constructors
|
---|
| 33 | Hoja (void); // Void constructor
|
---|
| 34 | Hoja (const Hoja& aHoja); // Copy constructor
|
---|
| 35 | virtual ~Hoja (void); // Destructor
|
---|
[832] | 36 |
|
---|
[834] | 37 | float Distancia (Hoja&);
|
---|
| 38 | float Coplanaridad (Hoja&);
|
---|
[774] | 39 | };
|
---|
| 40 |
|
---|
| 41 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.