|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.nutiteq.components.Point
public class Point
This class implements a point on a map, identified by WGS84 coordinates, longitude (x) and latitude (y).
| Constructor Summary | |
|---|---|
Point(int x,
int y)
Constructor for Point. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
Check for equality. |
int |
getX()
|
int |
getY()
|
int |
hashCode()
|
java.lang.String |
toString()
Non-static toString(). |
static java.lang.String |
toString(Point p)
Convert a point to a string. |
WgsPoint |
toWgsPoint()
Not part of public API |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Point(int x,
int y)
| Method Detail |
|---|
public int getX()
public int getY()
public WgsPoint toWgsPoint()
public static java.lang.String toString(Point p)
p - point to convert
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - other object to check against
Object.equals(java.lang.Object)public int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||