|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object it.cutruzzula.lgml.geometry.AbstractGeometry it.cutruzzula.lgml.geometry.Point
public class Point
The class represents a POINT object.
Constructor Summary | |
---|---|
Point(double x,
double y)
Constructor for 2D point. |
|
Point(double x,
double y,
double z)
Constructor for 3D point. |
Method Summary | |
---|---|
java.lang.String |
asWKT()
Method to get the WKT form of this point object. |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getType()
Method to get the geometry type. |
double |
getX()
Method to get the x coordinate. |
double |
getY()
Method to get the y coordinate. |
double |
getZ()
Method to get the z dimension. |
Methods inherited from class it.cutruzzula.lgml.geometry.AbstractGeometry |
---|
getSrsDimension, getSrsName, setSrsName |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Point(double x, double y)
x
- The x coordinatey
- The y coordinatepublic Point(double x, double y, double z)
x
- The x coordinatey
- The y coordinatez
- The z dimensionMethod Detail |
---|
public double getX()
public double getY()
public double getZ()
public java.lang.String asWKT()
asWKT
in class AbstractGeometry
public java.lang.String getType()
getType
in class AbstractGeometry
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |