final class LinkTag extends Object
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $,
initial version Jul 23, 2015
| Modifier and Type | Field and Description |
|---|---|
(package private) ArcTag |
arcTag
arc.
|
(package private) BezierTag |
bezierTag
bezier.
|
(package private) Map<String,BlockTag> |
blockTags
map of lane name to blocks.
|
(package private) Map<String,FillTag> |
fillTags
map of lane name to fill at t=0.
|
(package private) Map<String,GeneratorTag> |
generatorTags
map of lane name to generators.
|
(package private) LaneKeepingPolicy |
laneKeepingPolicy
the lane keeping policy, i.e., keep left, keep right or keep lane.
|
(package private) Map<String,LaneOverrideTag> |
laneOverrideTags
map of lane name to lane override.
|
(package private) Map<String,Lane> |
lanes
map of lane name to generated lanes.
|
(package private) CrossSectionLink |
link
the calculated Link.
|
(package private) Map<String,ListGeneratorTag> |
listGeneratorTags
map of lane name to list generators.
|
(package private) String |
name
name.
|
(package private) NodeTag |
nodeEndTag
to node tag.
|
(package private) NodeTag |
nodeStartTag
from node tag.
|
(package private) org.djunits.value.vdouble.scalar.Length.Rel |
offsetEnd
offset for the link at the end node.
|
(package private) org.djunits.value.vdouble.scalar.Length.Rel |
offsetStart
offset for the link at the start node.
|
(package private) RoadTypeTag |
roadTypeTag
road type.
|
(package private) org.djunits.value.vdouble.scalar.Angle.Rel |
rotationEnd
extra rotation for the link at the end node.
|
(package private) org.djunits.value.vdouble.scalar.Angle.Rel |
rotationStart
extra rotation for the link at the start node.
|
(package private) Map<String,List<SensorTag>> |
sensorTags
map of lane name to list of sensors.
|
(package private) Map<String,SinkTag> |
sinkTags
map of lane name to sink tags.
|
(package private) StraightTag |
straightTag
straight.
|
(package private) Map<String,List<TrafficLightTag>> |
trafficLightTags
map of lane name to traffic lights.
|
| Constructor and Description |
|---|
LinkTag() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static org.djunits.value.vdouble.scalar.Length.Rel |
parseBeginEndPosition(String posStr,
CrossSectionElement cse)
This method parses a length string that can have values such as: BEGIN, END, 10m, END-10m, 98%.
|
(package private) static void |
parseLinks(NodeList nodeList,
XmlNetworkLaneParser parser)
Parse the LINK tags.
|
String name
NodeTag nodeStartTag
NodeTag nodeEndTag
RoadTypeTag roadTypeTag
org.djunits.value.vdouble.scalar.Length.Rel offsetStart
org.djunits.value.vdouble.scalar.Length.Rel offsetEnd
org.djunits.value.vdouble.scalar.Angle.Rel rotationStart
org.djunits.value.vdouble.scalar.Angle.Rel rotationEnd
StraightTag straightTag
ArcTag arcTag
BezierTag bezierTag
Map<String,LaneOverrideTag> laneOverrideTags
Map<String,GeneratorTag> generatorTags
Map<String,ListGeneratorTag> listGeneratorTags
Map<String,List<TrafficLightTag>> trafficLightTags
CrossSectionLink link
LaneKeepingPolicy laneKeepingPolicy
static void parseLinks(NodeList nodeList, XmlNetworkLaneParser parser) throws SAXException, org.opentrafficsim.core.network.NetworkException
nodeList - nodeList the top-level nodes of the XML-fileparser - the parser with the lists of informationSAXException - when parsing of the tag failsorg.opentrafficsim.core.network.NetworkException - when parsing of the tag failsstatic org.djunits.value.vdouble.scalar.Length.Rel parseBeginEndPosition(String posStr, CrossSectionElement cse) throws org.opentrafficsim.core.network.NetworkException
posStr - the position string to parse. Lengths are relative to the center line of the cross section element.cse - the cross section element to retrieve the center lineorg.opentrafficsim.core.network.NetworkException - when parsing failsCopyright © 2014–2016 Delft University of Technology. All rights reserved.