|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectno.geodata.maputil.MapPoint
public class MapPoint
Class that defines a map point.
| Constructor Summary | |
|---|---|
MapPoint()
Creates a new instance of MapPoint. |
|
MapPoint(double x,
double y)
Creates a new instance of MapPoint. |
|
| Method Summary | |
|---|---|
int |
getId()
Gets single value. |
long |
getPxX()
Gets single value. |
long |
getPxY()
Gets single value. |
double |
getX()
Gets single value. |
double |
getY()
Gets a single value. |
void |
setId(int id)
Sets single value. |
void |
setPxX(long pxX)
Sets single value. |
void |
setPxY(long pxY)
Sets single value. |
void |
setX(double x)
Sets single value. |
void |
setY(double y)
Sets a single value. |
String |
toString()
Gets a string representation of the map point. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MapPoint()
public MapPoint(double x,
double y)
x - X-coordinate (longitude) for the map point.y - Y-coordinate (latitude) for the map point.| Method Detail |
|---|
public void setX(double x)
x - X-coordinate (longitude) for the map point.public double getX()
y - X-coordinate (longitude) for the map point.public void setY(double y)
public double getY()
public void setPxX(long pxX)
pxX - imagepixel-coordinate for the map point.public long getPxX()
pxX - imagepixel-coordinate for the map point.public void setPxY(long pxY)
pxY - imagepixel-coordinate for the map point.public long getPxY()
pxY - imagepixel-coordinate for the map point.public void setId(int id)
id - identity number.public int getId()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||