final class LinkTag extends Object implements Serializable
Copyright (c) 2013-2017 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,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) org.opentrafficsim.road.network.lane.changing.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,org.opentrafficsim.road.network.lane.Lane> |
lanes
Map of lane name to generated lanes.
|
(package private) org.opentrafficsim.road.network.lane.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 |
offsetEnd
Offset for the link at the end node.
|
(package private) org.djunits.value.vdouble.scalar.Length |
offsetStart
Offset for the link at the start node.
|
(package private) PolyLineTag |
polyLineTag
PolyLine.
|
(package private) org.opentrafficsim.road.network.lane.CrossSectionLink.Priority |
priority
The priority for conflicts.
|
(package private) RoadLayoutTag |
roadLayoutTag
Road type.
|
(package private) org.djunits.value.vdouble.scalar.Angle |
rotationEnd
Extra rotation for the link at the end node.
|
(package private) org.djunits.value.vdouble.scalar.Angle |
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 |
parseBeginEndPosition(String posStr,
org.opentrafficsim.road.network.lane.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 |
toString() |
String name
NodeTag nodeStartTag
NodeTag nodeEndTag
RoadLayoutTag roadLayoutTag
org.djunits.value.vdouble.scalar.Length offsetStart
org.djunits.value.vdouble.scalar.Length offsetEnd
org.djunits.value.vdouble.scalar.Angle rotationStart
org.djunits.value.vdouble.scalar.Angle rotationEnd
StraightTag straightTag
PolyLineTag polyLineTag
ArcTag arcTag
BezierTag bezierTag
Map<String,LaneOverrideTag> laneOverrideTags
Map<String,GeneratorTag> generatorTags
Map<String,ListGeneratorTag> listGeneratorTags
Map<String,List<TrafficLightTag>> trafficLightTags
Map<String,org.opentrafficsim.road.network.lane.Lane> lanes
org.opentrafficsim.road.network.lane.CrossSectionLink link
org.opentrafficsim.road.network.lane.changing.LaneKeepingPolicy laneKeepingPolicy
org.opentrafficsim.road.network.lane.CrossSectionLink.Priority priority
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 parseBeginEndPosition(String posStr, org.opentrafficsim.road.network.lane.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–2018 Delft University of Technology. All rights reserved.