public class BuildingInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ENTRANCE_SIZE
Width of a generated entrance road.
|
| Constructor and Description |
|---|
BuildingInfo(LegacyBuilding b)
Construct a BuildingInfo object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
process(GMLMap gml,
java.util.Map<java.lang.Integer,NodeInfo> nodeInfo,
java.util.Map<java.lang.Integer,RoadInfo> roadInfo)
Process the building and create a GMLBuilding.
|
void |
setRoadLeft(Point2D newRoadLeft)
Set the left corner at the road end.
|
void |
setRoadRight(Point2D newRoadRight)
Set the right corner at the road end.
|
public static final int ENTRANCE_SIZE
public BuildingInfo(LegacyBuilding b)
b - The LegacyBuilding to store info about.public void setRoadLeft(Point2D newRoadLeft)
newRoadLeft - The new head-left corner.public void setRoadRight(Point2D newRoadRight)
newRoadRight - The new head-right corner.public void process(GMLMap gml, java.util.Map<java.lang.Integer,NodeInfo> nodeInfo, java.util.Map<java.lang.Integer,RoadInfo> roadInfo)
gml - The GML map.nodeInfo - Information about the legacy nodes.roadInfo - Information about the legacy roads.