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.
 
Methods inherited from interface spatial.LayerSpatialSearchTreeObject
getLayer
 
Methods inherited from interface spatial.SpatialSearchTreeObject
computeDistanceTo, contains, draw, getId, intersects, intersects, isContainedBy, isContainedBy, isOfSameType
 
Methods inherited from interface spatial.SpatialSearchTreeEntry
getMBR, getNumOfDimensions
 

Method Detail

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 point
y - y-coordinate of the point
scale - 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?