queryWithVisitor abstract method

void queryWithVisitor(
  1. Envelope searchEnv,
  2. ItemVisitor visitor
)

Queries the index for all items whose extents intersect the given search {@link Envelope}, and applies an {@link ItemVisitor} to them. Note that some kinds of indexes may also return objects which do not in fact intersect the query envelope.

@param searchEnv the envelope to query for @param visitor a visitor object to apply to the items found

Implementation

void queryWithVisitor(Envelope searchEnv, ItemVisitor visitor);