|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bbn.openmap.layer.mysql.MysqlGeometry | +--com.bbn.openmap.layer.mysql.MysqlPolygon
This class represents the encapsulation of a MySQL Polygon Geometry. Coordinate values are stored as values of double precision in arrays as a sequence of Latitude/Longitude pairs. This differs from tha database where values are stored as X/Y or Easting/Northing pairs.
Copyright 2003 by the Author
Field Summary |
Fields inherited from class com.bbn.openmap.layer.mysql.MysqlGeometry |
GEOMETRYCOLLECTIONTYPE, LINESTRINGTYPE, MULTILINESTRINGTYPE, MULTIPOINTTYPE, MULTIPOLYGONTYPE, POINTTYPE, POLYGONTTYPE |
Constructor Summary | |
MysqlPolygon()
|
Method Summary | |
java.util.Vector |
getRings()
Returns the rings. |
void |
setRings(java.util.Vector rings)
Sets the rings. |
Methods inherited from class com.bbn.openmap.layer.mysql.MysqlGeometry |
getType, setType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MysqlPolygon()
Method Detail |
public java.util.Vector getRings()
public void setRings(java.util.Vector rings)
rings
- The rings to set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |