class LaneSectionTag 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) Map<Integer,LaneTag> |
centerLaneTags
Center lanes
|
(package private) int |
id
Sequence of the laneSection.
|
(package private) Map<Integer,org.opentrafficsim.road.network.lane.Lane> |
lanes
All lanes
|
(package private) Map<Integer,LaneTag> |
leftLaneTags
Left lanes
|
(package private) Map<Integer,LaneTag> |
rightLaneTags
Right lanes
|
(package private) org.djunits.value.vdouble.scalar.Length |
s
Start position (s-coordinate).
|
| Constructor and Description |
|---|
LaneSectionTag() |
| Modifier and Type | Method and Description |
|---|---|
List<org.opentrafficsim.road.network.lane.Lane> |
findLanes(String orientation) |
(package private) static LaneSectionTag |
parseLaneSection(Node node,
OpenDriveNetworkLaneParser parser)
Parse the attributes of the road tag.
|
String |
toString() |
int id
org.djunits.value.vdouble.scalar.Length s
static LaneSectionTag parseLaneSection(Node node, OpenDriveNetworkLaneParser parser) throws SAXException, org.opentrafficsim.core.network.NetworkException
node - the top-level road nodeparser - the parser with the lists of informationSAXException - when parsing of the tag failsorg.opentrafficsim.core.network.NetworkException - when parsing of the tag failspublic List<org.opentrafficsim.road.network.lane.Lane> findLanes(String orientation)
orientation - Plus or minus orientation, indicated by '+' or '-'Copyright © 2014–2018 Delft University of Technology. All rights reserved.