public class RoadInfo
extends java.lang.Object
Constructor and Description |
---|
RoadInfo()
Construct a RoadInfo.
|
Modifier and Type | Method and Description |
---|---|
GMLRoad |
getRoad()
Get the generated GMLRoad.
|
void |
process(GMLMap gml)
Process this RoadInfo and generate a GMLRoad object.
|
void |
setHeadLeft(Point2D newHeadLeft)
Set the left corner at the head end.
|
void |
setHeadRight(Point2D newHeadRight)
Set the right corner at the head end.
|
void |
setTailLeft(Point2D newTailLeft)
Set the left corner at the tail end.
|
void |
setTailRight(Point2D newTailRight)
Set the right corner at the tail end.
|
public void setHeadLeft(Point2D newHeadLeft)
newHeadLeft
- The new head-left corner.public void setHeadRight(Point2D newHeadRight)
newHeadRight
- The new head-right corner.public void setTailLeft(Point2D newTailLeft)
newTailLeft
- The new tail-left corner.public void setTailRight(Point2D newTailRight)
newTailRight
- The new tail-right corner.public GMLRoad getRoad()
public void process(GMLMap gml)
gml
- The GML map.