spatial
Interface VisualizedSpatialSearchTreeObject
- All Superinterfaces:
- LayerSpatialSearchTreeObject, SpatialSearchTreeEntry, SpatialSearchTreeObject
- All Known Implementing Classes:
- DrawableSpatialSearchTreeObject
- public interface VisualizedSpatialSearchTreeObject
- extends LayerSpatialSearchTreeObject
Interface describing a visualized object in a spatial search tree.
|
Method Summary |
boolean |
interacts(int x,
int y,
int scale)
Tests whether an object is selected by a point or not. |
boolean |
isVisible(int scale)
Tests whether the object is visible at a given scale or not. |
interacts
public boolean interacts(int x,
int y,
int scale)
- Tests whether an object is selected by a point or not.
- Parameters:
x - x-coordinate of the pointy - y-coordinate of the pointscale - scale
- Returns:
- selected?
isVisible
public boolean isVisible(int scale)
- Tests whether the object is visible at a given scale or not.
- Parameters:
scale - scale
- Returns:
- visible?