X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fdocument.h;h=76e3b7f68be899a222eac4ffd9bce9ff8a77f171;hp=529e4abb0fca15999f15b97ddf54bef745a1c9f9;hb=c1b5126edfd81846a0ecf19c6dcb9c0476df2196;hpb=33d1adb60806e13863aa3b6c5e1dee9836cd3d04 diff --git a/src/document.h b/src/document.h index 529e4ab..76e3b7f 100644 --- a/src/document.h +++ b/src/document.h @@ -82,6 +82,8 @@ namespace IPDF inline const QuadTree& GetQuadTree() { if (m_quadtree.root_id == QUADTREE_EMPTY) { GenBaseQuadtree(); } return m_quadtree; } QuadTreeIndex GenQuadChild(QuadTreeIndex parent, QuadTreeNodeChildren type); QuadTreeIndex GenQuadParent(QuadTreeIndex child, QuadTreeNodeChildren mytype); + // Returns the number of objects the current object formed when clipped, the objects in question are added to the end of the document. + int ClipObjectToQuadChild(int object_id, QuadTreeNodeChildren type); #endif private: