public interface GeoObject
extends java.lang.Cloneable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Drawable |
getDrawable(java.awt.geom.AffineTransform viewportTransform)
This method returns a drawable Java2D shape or point that can be directly rendered onto a device.
|
java.lang.Object |
getKey()
Gets the key of the selected object.
|
Layer |
getLayer()
Gets the associated layer for this object.
|
java.awt.geom.Rectangle2D |
getMBR()
Gets the minimum bounding rectangle of this geo-object.
|
int |
hashCode() |
boolean |
isSubElementOf(GeoObject obj)
Returns true if this GeoObject is a sub element of the provided GeoObject
|
java.lang.Object |
setKey(java.lang.Object key)
Sets a new key on the object.
|
void |
setLayer(Layer layer)
Sets the layer to be associated with this object.
|
java.util.List<GeoObject> |
substract(java.util.List<? extends GeoObject> objs)
Returns a set of GeoObjects that represent the substraction of the provided GeoObjects from this GeoObject
|
boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
int hashCode()
hashCode
in class java.lang.Object
java.lang.Object getKey()
java.lang.Object setKey(java.lang.Object key)
key
- the new key to be set.Layer getLayer()
void setLayer(Layer layer)
layer
- the Layer instance to be associated.Drawable getDrawable(java.awt.geom.AffineTransform viewportTransform)
viewportTransform
-java.awt.geom.Rectangle2D getMBR()
boolean isSubElementOf(GeoObject obj)
obj
-