Line | |
---|
1 | // DelaunayMesh.h: interface for the DelaunayMesh class.
|
---|
2 | //
|
---|
3 | //////////////////////////////////////////////////////////////////////
|
---|
4 |
|
---|
5 | #pragma once
|
---|
6 | #include "Vector.hpp"
|
---|
7 | #include "Woctree.h"
|
---|
8 | #include "Woctreebranch.h"
|
---|
9 | #include "Wsimplex.h"
|
---|
10 | #include "WsubMesh.h"
|
---|
11 |
|
---|
12 | class DelaunayMesh
|
---|
13 | {
|
---|
14 | public:
|
---|
15 | ::std::vector<Vector*> nodeArray;
|
---|
16 | ::std::vector<Wsimplex*> simplexArray;
|
---|
17 | private:
|
---|
18 | Woctree* tetrahedra;
|
---|
19 |
|
---|
20 | Vector encloseCentre;
|
---|
21 | double encloseRadius;
|
---|
22 |
|
---|
23 | WsubMesh* cavvie;
|
---|
24 | int crashed;
|
---|
25 |
|
---|
26 | public:
|
---|
27 | Wsimplex* search(Vector* pixie);
|
---|
28 | int getSimplexCount();
|
---|
29 | char add(Vector *,Wsimplex* starter=NULL);
|
---|
30 | DelaunayMesh(Vector*, double);
|
---|
31 | virtual ~DelaunayMesh();
|
---|
32 |
|
---|
33 | };
|
---|
34 |
|
---|
35 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.