Line | |
---|
1 | // Woctreebranch.h: interface for the Woctreebranch class.
|
---|
2 | //
|
---|
3 | //////////////////////////////////////////////////////////////////////
|
---|
4 |
|
---|
5 | #pragma once
|
---|
6 | #include "Woctree.h"
|
---|
7 | #include "Wbucket.h"
|
---|
8 |
|
---|
9 | class Woctreebranch : public Woctree
|
---|
10 | {
|
---|
11 | public:
|
---|
12 | Vector* getChildSize();
|
---|
13 | Vector* getHalfer();
|
---|
14 | Woctreebranch(Woctreebranch* parent, int orientation);
|
---|
15 | Woctreebranch(double x, double y, double z, double rx, double ry, double rz);
|
---|
16 | Woctreebranch(Wbucket* a, Woctreebranch* parent, int orientation);
|
---|
17 | virtual Woctree* add( Wsimplex* toadd,int maxObjsInBucket=8, double minBrick=10);
|
---|
18 | virtual Wsimplex* search(Vector *proxy);
|
---|
19 | virtual Wsimplex* searchNeighbour(Wsimplex* proxy);
|
---|
20 | Woctreebranch();
|
---|
21 |
|
---|
22 | virtual ~Woctreebranch();
|
---|
23 |
|
---|
24 | private:
|
---|
25 | Woctree* subregion[8];
|
---|
26 | double z;
|
---|
27 | double y;
|
---|
28 | double x;
|
---|
29 | double rx,ry,rz;
|
---|
30 | };
|
---|
31 |
|
---|
32 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.