aim4.map.track
Class WayPoint
java.lang.Object
java.awt.geom.Point2D
java.awt.geom.Point2D.Double
aim4.map.track.WayPoint
- All Implemented Interfaces:
- Serializable, Cloneable
public class WayPoint
- extends Point2D.Double
A waypoint.
- See Also:
- Serialized Form
Method Summary |
int |
getId()
Get the ID of the waypoint |
void |
setId(int id)
Set the ID of the waypoint |
WayPoint
public WayPoint(double x,
double y)
- Create a waypoint.
- Parameters:
x
- the x-coordinate of the waypointy
- the y-coordinate of the waypoint
WayPoint
public WayPoint(Point2D point)
- Create a waypoint
- Parameters:
point
- the point
getId
public int getId()
- Get the ID of the waypoint
- Returns:
- the ID of the waypoint
setId
public void setId(int id)
- Set the ID of the waypoint
- Parameters:
id
- the ID of the waypoint
Copyright © 2011. All Rights Reserved.