final class LinkTag extends Object implements Serializable
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2016-11-11 18:03:54 +0100 (Fri, 11 Nov 2016) $, @version $Revision: 2547 $, by $Author: gtamminga $,
initial version Jul 23, 2015
| Modifier and Type | Field and Description |
|---|---|
(package private) ArcTag |
arcTag |
(package private) BezierTag |
bezierTag |
(package private) Map<String,BlockTag> |
blockTags
Map of lane name to generated lanes.
|
(package private) boolean |
connector |
(package private) ConnectorTag |
connectorTag |
(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) Map<String,LaneTag> |
laneTags
Map of lane name to generated lanes.
|
(package private) String |
legalSpeed
Name.
|
(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.
|
RoadLayoutTag |
roadLayoutTag |
(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) List<SensorTag> |
sensors |
(package private) Map<String,List<SensorTag>> |
sensorTags
Map of lane name to list of sensors.
|
(package private) List<SensorTag> |
sensorTagsToRemove |
(package private) List<SignalHeadTag> |
signalHeads |
(package private) List<SignalHeadTag> |
signalHeadsToRemove |
(package private) Map<String,SinkTag> |
sinkTags
Map of lane name to sink tags.
|
(package private) StraightTag |
straightTag
Straight.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
addDetectors(VissimNetworkLaneParser parser) |
static void |
addSignalHeads(VissimNetworkLaneParser parser) |
static org.opentrafficsim.core.geometry.OTSLine3D |
createLineString(LinkTag linkTag) |
(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,
VissimNetworkLaneParser parser)
Parse the LINK tags from Vissim fiels (.inpx) .
|
static void |
shortenConnectors(VissimNetworkLaneParser parser) |
static Map<String,LinkTag> |
splitLink(NodeTag splitNodeTag,
LinkTag linkTag,
VissimNetworkLaneParser parser,
Double splitPosition,
Double margin,
boolean isConnectorToLink)
Split the links at a certain point along the link
|
String |
toString() |
String name
String legalSpeed
NodeTag nodeStartTag
NodeTag nodeEndTag
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
Map<String,LaneOverrideTag> laneOverrideTags
Map<String,GeneratorTag> generatorTags
Map<String,ListGeneratorTag> listGeneratorTags
Map<String,org.opentrafficsim.road.network.lane.Lane> lanes
ConnectorTag connectorTag
org.opentrafficsim.road.network.lane.CrossSectionLink link
org.opentrafficsim.road.network.lane.changing.LaneKeepingPolicy laneKeepingPolicy
List<SignalHeadTag> signalHeads
List<SignalHeadTag> signalHeadsToRemove
boolean connector
ArcTag arcTag
BezierTag bezierTag
public RoadLayoutTag roadLayoutTag
public LinkTag(LinkTag linkTag)
linkTag - public LinkTag()
static void parseLinks(NodeList nodeList, VissimNetworkLaneParser 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 failspublic static Map<String,LinkTag> splitLink(NodeTag splitNodeTag, LinkTag linkTag, VissimNetworkLaneParser parser, Double splitPosition, Double margin, boolean isConnectorToLink) throws org.opentrafficsim.core.geometry.OTSGeometryException
parser - isConnectorToLink - connectorTag2 - linkToTag - org.opentrafficsim.core.geometry.OTSGeometryExceptionpublic static org.opentrafficsim.core.geometry.OTSLine3D createLineString(LinkTag linkTag) throws org.opentrafficsim.core.geometry.OTSGeometryException
org.opentrafficsim.core.geometry.OTSGeometryExceptionstatic 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 failspublic static void addSignalHeads(VissimNetworkLaneParser parser)
parser - public static void addDetectors(VissimNetworkLaneParser parser)
parser - public static void shortenConnectors(VissimNetworkLaneParser parser) throws org.opentrafficsim.core.geometry.OTSGeometryException, org.opentrafficsim.core.network.NetworkException, NamingException
vissimNetworkLaneParser - org.opentrafficsim.core.geometry.OTSGeometryExceptionNamingExceptionorg.opentrafficsim.core.network.NetworkExceptionCopyright © 2014–2016 Delft University of Technology. All rights reserved.