class PlanViewTag extends Object implements Serializable
Copyright (c) 2013-2018 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) List<GeometryTag> |
geometryTags
GeometryTags
|
| Constructor and Description |
|---|
PlanViewTag() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static org.opentrafficsim.core.geometry.OTSLine3D |
buildDesignLine(PlanViewTag planViewTag,
RoadTag roadTag)
Find the nodes one by one that have one coordinate defined, and one not defined, and try to build the network from there.
|
(package private) static void |
parsePlanView(NodeList nodeList,
OpenDriveNetworkLaneParser parser,
RoadTag roadTag)
Parse the attributes of the road tag.
|
String |
toString() |
List<GeometryTag> geometryTags
static void parsePlanView(NodeList nodeList, OpenDriveNetworkLaneParser parser, RoadTag roadTag) throws SAXException, org.opentrafficsim.core.geometry.OTSGeometryException, org.opentrafficsim.core.network.NetworkException
nodeList - the list of subnodes of the road nodeparser - the parser with the lists of informationroadTag - the RoadTag to which this element belongsSAXException - when parsing of the tag failsorg.opentrafficsim.core.geometry.OTSGeometryException - when parsing of the tag failsorg.opentrafficsim.core.network.NetworkException - if node already exists in the network, or if name of the node is not unique.static org.opentrafficsim.core.geometry.OTSLine3D buildDesignLine(PlanViewTag planViewTag, RoadTag roadTag) throws org.opentrafficsim.core.geometry.OTSGeometryException
roadTag - the road tagplanViewTag - the link to processorg.opentrafficsim.core.geometry.OTSGeometryException - when OTSLine3D cannot be constructedCopyright © 2014–2018 Delft University of Technology. All rights reserved.