|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Geometry
Geometry used to simple operations such as draw
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 |
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()
|
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 interface com.hardcode.gdbms.engine.values.Value |
---|
and, doEquals, doHashCode, equals, getStringValue, getType, greater, greaterEqual, inversa, less, lessEqual, like, notEquals, or, producto, suma |
Method Detail |
---|
void draw(java.awt.Graphics2D g, org.geotools.renderer.style.Style2D style)
g
- where to drawstyle
- symbol to drawvoid transform(java.awt.geom.AffineTransform mt)
mt
- transformationboolean intersects(java.awt.geom.Rectangle2D r)
r
- Rectangular area
java.awt.geom.Rectangle2D getBounds2D()
java.awt.geom.PathIterator getPathIterator()
int getGeometryType()
java.awt.geom.Point2D[] getHandlerPoints()
SnapPoint[] getSnapPoints()
int getGeometryCount()
Geometry getGeometry(int index)
Geometry[] getGeometries()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |