public class ContainedGeoGrossGate<T> extends IntersectGeoGrossGate<T> implements BoundedSpatialQuery<T>
| Constructor and Description |
|---|
ContainedGeoGrossGate(Datum datum,
AABB aabb,
double range) |
| Modifier and Type | Method and Description |
|---|---|
AABB |
getBounds()
Should return the bounds within which all of this query results are contained.
|
boolean |
queryElement(AABB aabb,
T elem)
Called by SpaceBase to inquire whether an element with the given bounding-box matches the query.
|
getGate, queryContainer, queryContainer, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitqueryContainerpublic AABB getBounds()
BoundedSpatialQueryShould return the bounds within which all of this query results are contained.
getBounds in interface BoundedSpatialQuery<T>public boolean queryElement(AABB aabb, T elem)
SpatialQueryCalled by SpaceBase to inquire whether an element with the given bounding-box matches the query.
queryElement in interface SpatialQuery<T>queryElement in class IntersectGeoGrossGate<T>aabb - The element’s bounding-box.elem - The element.true if the element matches the query, or false if it does not.