class PlanViewTag 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) List<GeometryTag> |
geometryTags
geometryTags
|
| Constructor and Description |
|---|
PlanViewTag() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static CrossSectionLink |
buildLink(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.
|
List<GeometryTag> geometryTags
static void parsePlanView(NodeList nodeList, OpenDriveNetworkLaneParser parser, RoadTag roadTag) throws SAXException, 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.network.NetworkException - when parsing of the tag failsstatic CrossSectionLink buildLink(PlanViewTag planViewTag, RoadTag roadTag) throws org.opentrafficsim.core.network.NetworkException
roadTag - the road tagplanViewTag - the link to processorg.opentrafficsim.core.network.NetworkException - when OTSLine3D cannot be constructedCopyright © 2014–2015 Delft University of Technology. All rights reserved.