branch | pyrit |
changeset 46 | 6493fb65f0b1 |
parent 44 | 3763b26244f0 |
child 74 | 09aedbf5f95f |
--- a/include/kdtree.h Wed Mar 19 17:18:59 2008 +0100 +++ b/include/kdtree.h Wed Mar 26 00:52:27 2008 +0100 @@ -36,6 +36,9 @@ using namespace std; +/** + * a node of kd-tree + */ class KdNode { Float split; @@ -66,6 +69,9 @@ void subdivide(BBox bbox, int maxdepth); }; +/** + * kd-tree + */ class KdTree: public Container { KdNode *root;