public interface IRTreeEnvelopeSearch
RTree
search method asks an instance of this interface
as a parameter and r-tree nodes information are passed into the testEnvelope
method of this interface to determine if it satisfies the user-define search
criteria. The isLeaf argument indicates if the given envelope is from a leaf node.
The implementation have changed to behave differently for leaf and non-leaf envelopes.
Most common implementation of IEnvelopeSearch would be constructed with a single
Envelope and would test if this envelope intersects the envelope supplied to
testEnvelope
method. The class RTreeEnvelopeSearch
implements
this most common case.Modifier and Type | Method and Description |
---|---|
boolean |
testEnvelope(Envelope envelope,
boolean isLeaf)
Tests if the given envelope which from a r-tree node or keys satisfies
the search criteria defined in this interface.
|
boolean testEnvelope(Envelope envelope, boolean isLeaf)
envelope
- an envelope from a r-tree node.isLeaf
- indicates if the r-tree node is leaf node.© 2007, 2022 Precisely. All rights reserved.