com.bbn.openmap.tools.roads
Class RoadPoint
java.lang.Object
com.bbn.openmap.tools.roads.Visual
com.bbn.openmap.tools.roads.Waypoint
com.bbn.openmap.tools.roads.RoadPoint
- All Implemented Interfaces:
- RoadObject, java.io.Serializable
public class RoadPoint
- extends Waypoint
- implements RoadObject
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RoadPoint
public RoadPoint(Road road,
LatLonPoint loc,
RoadLayer layer)
RoadPoint
public RoadPoint(Road road,
Intersection intersection)
getGraphicClass
public static java.lang.Class getGraphicClass()
getRoad
public Road getRoad()
delete
public void delete()
update
public void update()
- Description copied from class:
Visual
- Mark this Visual as needing to have its visual representation
updated. It has moved or otherwise changed its appearance.
- Overrides:
update
in class Waypoint
render
public void render(OMGraphicList gl,
boolean forceNew)
- Description copied from class:
Waypoint
- Add the visual representation of this Waypoint to the graphics list. Our
visual representation is just a rectangle with radius 2.
- Specified by:
render
in interface RoadObject
- Specified by:
render
in class Waypoint
toString
public java.lang.String toString()
- Overrides:
toString
in class Waypoint
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details