|
||||||||||
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.GeometryCollection
public class GeometryCollection
Nested Class Summary | |
---|---|
class |
GeometryCollection.CollectionIterator
|
Field Summary |
---|
Fields inherited from interface com.hardcode.gdbms.engine.values.Value |
---|
BINARY, BOOLEAN, BYTE, DATE, DOUBLE, FLOAT, INT, LONG, SHORT, STRING, TIME, TIMESTAMP |
Constructor Summary | |
---|---|
GeometryCollection(Geometry[] geoms,
int geometryType)
|
Method Summary | |
---|---|
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 |
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, toString, 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 |
Constructor Detail |
---|
public GeometryCollection(Geometry[] geoms, int geometryType)
Method Detail |
---|
public void draw(java.awt.Graphics2D g, org.geotools.renderer.style.Style2D style)
Geometry
draw
in interface Geometry
g
- where to drawstyle
- symbol to drawpublic void transform(java.awt.geom.AffineTransform mt)
Geometry
transform
in interface Geometry
mt
- transformationpublic boolean intersects(java.awt.geom.Rectangle2D r)
Geometry
intersects
in interface Geometry
r
- Rectangular area
public java.awt.geom.Rectangle2D getBounds2D()
Geometry
getBounds2D
in interface Geometry
public java.awt.geom.PathIterator getPathIterator()
Geometry
getPathIterator
in interface Geometry
public int getGeometryType()
Geometry
getGeometryType
in interface Geometry
public int doHashCode()
Value
doHashCode
in interface Value
Object.hashCode()
public java.lang.String getStringValue(ValueWriter writer)
Value
getStringValue
in interface Value
writer
- Specifies the string representation for the values
public java.awt.geom.Point2D[] getHandlerPoints()
getHandlerPoints
in interface Geometry
Geometry.getHandlerPoints()
public SnapPoint[] getSnapPoints()
getSnapPoints
in interface Geometry
Geometry.getHandlerPoints()
public int getGeometryCount()
getGeometryCount
in interface Geometry
public Geometry getGeometry(int index)
getGeometry
in interface Geometry
public Geometry[] getGeometries()
getGeometries
in interface Geometry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |