org.postgis
Class Point
java.lang.Object
|
+--org.postgis.Geometry
|
+--org.postgis.Point
- public class Point
- extends Geometry
Field Summary |
double |
x
The X coordinate of the point. |
double |
y
The Y coordinate of the point. |
double |
z
The Z coordinate of the point. |
Constructor Summary |
Point()
|
Point(double x,
double y)
|
Point(double x,
double y,
double z)
|
Point(java.lang.String value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
x
public double x
- The X coordinate of the point.
y
public double y
- The Y coordinate of the point.
z
public double z
- The Z coordinate of the point.
Point
public Point()
Point
public Point(double x,
double y,
double z)
Point
public Point(double x,
double y)
Point
public Point(java.lang.String value)
throws java.sql.SQLException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getValue
public java.lang.String getValue()
getX
public double getX()
getY
public double getY()
getZ
public double getZ()
setX
public void setX(double x)
setY
public void setY(double y)
setZ
public void setZ(double z)
setX
public void setX(int x)
setY
public void setY(int y)
setZ
public void setZ(int z)