#include "common.h"
+#include "ipdf.h"
namespace IPDF
{
QuadTreeIndex root_id;
std::vector<QuadTreeNode> nodes;
};
+
+ Rect TransformToQuadChild(const Rect& src, QuadTreeNodeChildren child_type);
+ Rect TransformFromQuadChild(const Rect& src, QuadTreeNodeChildren child_type);
+ bool IntersectsQuadChild(const Rect& src, QuadTreeNodeChildren child_type);
+ bool ContainedInQuadChild(const Rect& src, QuadTreeNodeChildren child_type);
}
#else