source: GTP/trunk/App/Demos/Illum/pathmap/DelaunayMesh.h @ 2197

Revision 2197, 689 bytes checked in by szirmay, 18 years ago (diff)
RevLine 
[2197]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
12class DelaunayMesh
13{
14public:
15        ::std::vector<Vector*> nodeArray;
16    ::std::vector<Wsimplex*> simplexArray;
17private:
18        Woctree* tetrahedra;
19
20        Vector encloseCentre;
21        double encloseRadius;
22
23        WsubMesh* cavvie;
24        int crashed;
25
26public:
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.