queryObjWithVisitor method
Also builds the tree, if necessary.
Implementation
void queryObjWithVisitor(Object searchBounds, ItemVisitor visitor) {
build();
if (isEmpty()) {
// nothing in tree, so return
//Assert.isTrue(root.getBounds() == null);
return;
}
if (getIntersectsOp().intersects(root.getBounds(), searchBounds)) {
queryInternalWithVisitor(searchBounds, root, visitor);
}
}