public interface InfoByPoint
Interface that must be implemented by layers which support the operation "information by point".
That operation allows get meta-information from a point and an area around, of a layer.
Modifier and Type | Method and Description |
---|---|
DynObjectSet |
getInfo(Point p,
double tolerance)
Executes a consultation about information of a point on the layer.
|
DynObjectSet |
getInfo(java.awt.Point p,
double tolerance,
Cancellable cancel)
Deprecated.
use instead
getInfo(Point, double) |
DynObjectSet |
getInfo(java.awt.Point p,
double tolerance,
Cancellable cancel,
boolean fast)
Deprecated.
use instead
getInfo(Point, double) |
DynObjectSet getInfo(java.awt.Point p, double tolerance, Cancellable cancel) throws LoadLayerException, DataException
getInfo(Point, double)
Executes a consultation about information of a point on the layer.
There is an area around the point where will got the information.
p
- point where is the consultationtolerance
- permissible margin around the coordinates of the point where
the method will got the information. Each
singular implementation of this method would use it in a
different way. The coordinates also depend on the
implementation.cancel
- shared object that determines if this layer can continue being
drawnDataException
- TODOLoadLayerException
- any exception produced using the driver.DynObjectSet getInfo(java.awt.Point p, double tolerance, Cancellable cancel, boolean fast) throws LoadLayerException, DataException
getInfo(Point, double)
Executes a consultation about information of a point on the layer.
There is an area around the point where will got the information.
p
- point where is the consultationtolerance
- permissible margin around the coordinates of the point where
the method will got the information. Each
singular implementation of this method would use it in a
different way. The coordinates also depend on the
implementation.cancel
- shared object that determines if this layer can continue being
drawnfast
- if true try to reuse objects as much as possible to make the
object iteration faster. If true, DynObjects got through the
returned set must not be stored unless cloned.DataException
- TODOLoadLayerException
- any exception produced using the driver.DynObjectSet getInfo(Point p, double tolerance) throws LoadLayerException, DataException
Executes a consultation about information of a point on the layer.
There is an area around the point where will got the information.
p
- point in map coordinates where is the consultationtolerance
- permissible margin around the coordinates of the point where
the method will got the information. Each
singular implementation of this method would use it in a
different way. The unit are in map coordinates.LoadLayerException
DataException