|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hardcode.gdbms.engine.values.AbstractValue
com.hardcode.gdbms.engine.spatial.AbstractGeometryValue
com.hardcode.gdbms.engine.spatial.GeometryImpl
public class GeometryImpl
| Field Summary |
|---|
| Fields inherited from interface com.hardcode.gdbms.engine.values.Value |
|---|
BINARY, BOOLEAN, BYTE, DATE, DOUBLE, FLOAT, INT, LONG, SHORT, STRING, TIME, TIMESTAMP |
| Method Summary | |
|---|---|
void |
deleteHandler(int index)
|
int |
doHashCode()
The hashCode implementation. |
void |
draw(java.awt.Graphics2D g,
org.geotools.renderer.style.Style2D style)
Draws the geometry on the specified Graphics2D with the specified style |
java.awt.geom.Rectangle2D |
getBounds2D()
Gets the bounding box of the geometry |
Geometry[] |
getGeometries()
|
Geometry |
getGeometry(int index)
|
int |
getGeometryCount()
|
int |
getGeometryType()
Gets the type of the geometry. |
java.awt.geom.Point2D[] |
getHandlerPoints()
|
java.awt.geom.PathIterator |
getPathIterator()
Gets a path iterator over the geometry |
SnapPoint[] |
getSnapPoints()
|
java.lang.String |
getStringValue(ValueWriter writer)
Gets the string representation of the value as it is defined in the specified ValueWriter |
boolean |
intersects(java.awt.geom.Rectangle2D r)
Returns true if the geometry intersects with the rectangular area defined in r |
java.lang.String |
toString()
DOCUMENT ME! |
void |
transform(java.awt.geom.AffineTransform mt)
transforms the geometry |
| Methods inherited from class com.hardcode.gdbms.engine.spatial.AbstractGeometryValue |
|---|
equals, getType, notEquals |
| Methods inherited from class com.hardcode.gdbms.engine.values.AbstractValue |
|---|
and, doEquals, equals, greater, greaterEqual, hashCode, inversa, less, lessEqual, like, or, producto, suma |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.hardcode.gdbms.engine.values.Value |
|---|
and, doEquals, equals, getType, greater, greaterEqual, inversa, less, lessEqual, like, notEquals, or, producto, suma |
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
public void draw(java.awt.Graphics2D g,
org.geotools.renderer.style.Style2D style)
Geometry
draw in interface Geometryg - where to drawstyle - symbol to drawGeometry.draw(java.awt.Graphics2D,
org.geotools.renderer.style.Style2D)public boolean intersects(java.awt.geom.Rectangle2D r)
Geometry
intersects in interface Geometryr - Rectangular area
Geometry.intersects(java.awt.geom.Rectangle2D)public void transform(java.awt.geom.AffineTransform mt)
Geometry
transform in interface Geometrymt - transformationGeometry.transform(java.awt.geom.AffineTransform)public int doHashCode()
Value
doHashCode in interface ValueValue.doHashCode()public java.lang.String getStringValue(ValueWriter writer)
Value
getStringValue in interface Valuewriter - Specifies the string representation for the values
com.hardcode.gdbms.engine.values.Value#getStringValue(com.hardcode.gdbms.engine.data.driver.ValueWriter)public java.awt.geom.Rectangle2D getBounds2D()
Geometry
getBounds2D in interface Geometrypublic java.awt.geom.PathIterator getPathIterator()
Geometry
getPathIterator in interface Geometrypublic int getGeometryType()
Geometry
getGeometryType in interface Geometrypublic java.awt.geom.Point2D[] getHandlerPoints()
getHandlerPoints in interface GeometryGeometry.getHandlerPoints()public SnapPoint[] getSnapPoints()
getSnapPoints in interface Geometrypublic void deleteHandler(int index)
public int getGeometryCount()
getGeometryCount in interface Geometrypublic Geometry getGeometry(int index)
getGeometry in interface Geometrypublic Geometry[] getGeometries()
getGeometries in interface Geometry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||