return;
}
// start by asking the consumer if go on with the walk at all with the
// root nodes
Envelope lbounds = SpatialOps.boundsOf(left);
Node lnode = Node.create(NodeRef.ROOT, left.getId(), ObjectId.NULL, TYPE.TREE, lbounds);
Envelope rbounds = SpatialOps.boundsOf(right);
Node rnode = Node.create(NodeRef.ROOT, right.getId(), ObjectId.NULL, TYPE.TREE, rbounds);
if (consumer.tree(lnode, rnode)) {
traverseTree(consumer, left, right, 0);
}
consumer.endTree(lnode, rnode);