|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bbn.openmap.layer.mysql.MysqlGeometry
com.bbn.openmap.layer.mysql.MysqlPoint
public class MysqlPoint
This class represents the encapsulation of a MySQL Point Geometry. Coordinate values are stored as values of double precision in arrays as a sequence of Latitude/Longitude pairs. This differs from the 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 | |
|---|---|
MysqlPoint()
|
|
| Method Summary | |
|---|---|
double |
getEastings()
Returns the eastings. |
double |
getNorthings()
Returns the northings. |
void |
setEastings(double eastings)
Sets the eastings. |
void |
setNorthings(double northings)
Sets the northings. |
| 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 MysqlPoint()
| Method Detail |
|---|
public double getEastings()
public double getNorthings()
public void setEastings(double eastings)
eastings - The eastings to setpublic void setNorthings(double northings)
northings - The northings to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||