|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object it.cutruzzula.lwkt.geometry.AbstractGeometry it.cutruzzula.lwkt.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 | |
---|---|
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.lwkt.geometry.AbstractGeometry |
---|
getDimensions |
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 boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String getType()
getType
in class AbstractGeometry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |