Position class determines location on map. More...
Public Member Functions | |
Position () | |
Class constructor. More... | |
Position (int x, int y) | |
Class constructor. More... | |
int[] | toArray () |
void | setPosition (int x, int y) |
int | getX () |
int | getY () |
String | toString () |
Position class determines location on map.
Position | ( | ) |
Class constructor.
Position | ( | int | x, |
int | y | ||
) |
Class constructor.
x | Determines X coordinate (geographical longitude) of location in world degrees multiplied by 100 000. |
y | Determines Y coordinate (geographical latitude) of location in world degrees multiplied by 100 000. |
int getX | ( | ) |
Referenced by RoadInfo.toString(), RoadInfo.writeBundle(), and Options.writeBundle().
int getY | ( | ) |
Referenced by RoadInfo.toString(), RoadInfo.writeBundle(), and Options.writeBundle().
void setPosition | ( | int | x, |
int | y | ||
) |
x | Determines X coordinate (geographical longitude) of location in world degrees multiplied by 100 000. |
y | Determines Y coordinate (geographical latitude) of location in world degrees multiplied by 100 000. |
Referenced by RoadInfo.RoadInfo(), and WayPoint.SetLocation().
int [] toArray | ( | ) |
Referenced by WayPoint.writeBundle(), HistoryRecord.writeBundle(), Poi.writeBundle(), and StopOffPoint.writeBundle().
String toString | ( | ) |