spatial
Class AllQuery
java.lang.Object
|
+--spatial.BasicSpatialQuery
|
+--spatial.AllQuery
- All Implemented Interfaces:
- SpatialQuery
- Direct Known Subclasses:
- LayerAllQuery
- public class AllQuery
- extends BasicSpatialQuery
Class offering the operations required for retrieving all objects from a spatial search tree.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AllQuery
public AllQuery()
areEqual
public boolean areEqual(SpatialSearchTreeObject queryObj,
SpatialSearchTreeObject storedObj)
- Returns true.
- Specified by:
areEqual in interface SpatialQuery- Overrides:
areEqual in class BasicSpatialQuery
- Parameters:
queryObj - the query objectstoredObj - the stored object
- Returns:
- true
conditionFulfilled
public boolean conditionFulfilled(MBR rect,
MBR entryMBR)
- Tests whether the query rectangle and the MBR of a non-leaf entry intersect.
The tolerance attribute is considered.
- Specified by:
conditionFulfilled in interface SpatialQuery- Overrides:
conditionFulfilled in class BasicSpatialQuery
- Parameters:
rect - the query rectangleentryMBR - the minimum bounding rectangle of non-leaf entry
- Returns:
- true
conditionFulfilled
public boolean conditionFulfilled(MBR rect,
SpatialSearchTreeEntry entry)
- Returns true.
- Specified by:
conditionFulfilled in interface SpatialQuery- Overrides:
conditionFulfilled in class BasicSpatialQuery
- Parameters:
rect - the query rectangleentry - the entry of a leaf entry
- Returns:
- true
conditionFulfilled
public boolean conditionFulfilled(MBR rect,
SpatialSearchTreeObject obj)
- Returns true.
- Specified by:
conditionFulfilled in interface SpatialQuery- Overrides:
conditionFulfilled in class BasicSpatialQuery
- Parameters:
rect - the query rectangleobj - the object
- Returns:
- true