X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fquadtree.h;fp=src%2Fquadtree.h;h=e35da2eab45182aba96509edd40f9b6cd3409b9a;hp=1c1c0254c6441d289cbdde2daba561ec21057973;hb=fe80b0a479a44182b6e7e982fb6ff33b6e17303d;hpb=875df16552ba91c5eb4a7aaf3c48537b3d93b3fb diff --git a/src/quadtree.h b/src/quadtree.h index 1c1c025..e35da2e 100644 --- a/src/quadtree.h +++ b/src/quadtree.h @@ -13,6 +13,7 @@ namespace IPDF typedef int QuadTreeIndex; static const QuadTreeIndex QUADTREE_EMPTY = -1; + class Document; enum QuadTreeNodeChildren { @@ -49,7 +50,7 @@ namespace IPDF QuadTreeIndex root_id; std::vector nodes; - QuadTreeIndex GetNeighbour(QuadTreeIndex start, int xdir, int ydir) const; + QuadTreeIndex GetNeighbour(QuadTreeIndex start, int xdir, int ydir, Document *doc) const; };