Some really horrible utility Quadtree functions.
[ipdf/code.git] / src / quadtree.h
index 1443650..ac02146 100644 (file)
@@ -46,6 +46,9 @@ namespace IPDF
                QuadTree() : root_id(QUADTREE_EMPTY) {}
                QuadTreeIndex root_id;
                std::vector<QuadTreeNode> nodes;
+
+               QuadTreeIndex GetNeighbour(QuadTreeIndex start, int xdir, int ydir);
+
        };
 
        Rect TransformToQuadChild(const Rect& src, QuadTreeNodeChildren child_type);

UCC git Repository :: git.ucc.asn.au