public class GeometryFeature extends AbstractFeature
| Constructor and Description |
|---|
GeometryFeature() |
| Modifier and Type | Method and Description |
|---|---|
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.awt.geom.Rectangle2D |
getMBR()
Returns the minimum bounding rectangle of the spatial attribute.
|
JGeometry |
getSpatialAttribute()
Returns the spatial attribute object.
|
JGeometry |
getSpatialAttributeClone()
Returns a clone of the spatial attribute
|
int |
getSpatialDimension()
Returns the feature spatial dimension.
|
java.awt.geom.Point2D[] |
getSpatialJavaPoints()
Returns an array of java points representing the vertexes location
of the spatial object.
|
boolean |
isSubElementOf(GeoObject obj)
Returns true if this GeoObject is a sub element of the provided GeoObject
|
void |
setSpatialAttribute(java.lang.Object spatialAttr)
Sets the spatial attribute object
|
java.util.List<GeoObject> |
substract(java.util.List<? extends GeoObject> obj)
Returns a set of GeoObjects that represent the substraction of the provided GeoObjects from this GeoObject
|
clone, deepClone, equals, getAttribute, getAttributeNames, getAttributes, getAttributes, getKey, getLayer, removeAttribute, setAttribute, setAttributes, setKey, setLayerpublic JGeometry getSpatialAttribute()
getSpatialAttribute in class AbstractFeaturepublic void setSpatialAttribute(java.lang.Object spatialAttr)
setSpatialAttribute in class AbstractFeaturespatialAttr - public java.awt.geom.Rectangle2D getMBR()
getMBR in interface GeoObjectgetMBR in class AbstractFeaturepublic int getSpatialDimension()
getSpatialDimension in class AbstractFeaturepublic JGeometry getSpatialAttributeClone()
getSpatialAttributeClone in class AbstractFeaturepublic java.awt.geom.Point2D[] getSpatialJavaPoints()
getSpatialJavaPoints in class AbstractFeaturepublic Drawable getDrawable(java.awt.geom.AffineTransform viewportTransform)
GeoObjectpublic boolean isSubElementOf(GeoObject obj)
GeoObject