public class WayPoint extends Point2D.Double
Point2D.Double, Point2D.Floatx, y| Constructor and Description |
|---|
WayPoint(double x,
double y)
Create a waypoint.
|
WayPoint(Point2D point)
Create a waypoint
|
| Modifier and Type | Method and Description |
|---|---|
int |
getId()
Get the ID of the waypoint
|
void |
setId(int id)
Set the ID of the waypoint
|
getX, getY, setLocation, toStringclone, distance, distance, distance, distanceSq, distanceSq, distanceSq, equals, hashCode, setLocationpublic WayPoint(double x,
double y)
x - the x-coordinate of the waypointy - the y-coordinate of the waypointpublic WayPoint(Point2D point)
point - the pointCopyright © 2013. All rights reserved.