class GeometryTag 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) ArcTag |
arcTag
arcTag
|
(package private) org.djunits.value.vdouble.scalar.Length.Rel |
hdg
hdg position (s-coordinate).
|
(package private) String |
id
sequence of the geometry.
|
(package private) org.djunits.value.vdouble.scalar.Length.Rel |
length
total length of the reference line in the xy-plane, as indicated in the XML document.
|
(package private) org.opentrafficsim.core.network.OTSNode |
node
the calculated Node, either through a coordinate or after calculation.
|
(package private) org.djunits.value.vdouble.scalar.Length.Rel |
s
start position (s-coordinate).
|
(package private) SpiralTag |
spiralTag
spiralTag
|
(package private) org.djunits.value.vdouble.scalar.Length.Rel |
x
x position (s-coordinate).
|
(package private) org.djunits.value.vdouble.scalar.Length.Rel |
y
y position (s-coordinate).
|
| Constructor and Description |
|---|
GeometryTag() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static org.opentrafficsim.core.network.OTSNode |
makeOTSNode(GeometryTag geometryTag) |
(package private) static GeometryTag |
parseGeometry(Node node,
OpenDriveNetworkLaneParser parser)
Parse the attributes of the road tag.
|
String id
org.djunits.value.vdouble.scalar.Length.Rel s
org.djunits.value.vdouble.scalar.Length.Rel x
org.djunits.value.vdouble.scalar.Length.Rel y
org.djunits.value.vdouble.scalar.Length.Rel hdg
org.djunits.value.vdouble.scalar.Length.Rel length
SpiralTag spiralTag
ArcTag arcTag
org.opentrafficsim.core.network.OTSNode node
static GeometryTag parseGeometry(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 failsstatic org.opentrafficsim.core.network.OTSNode makeOTSNode(GeometryTag geometryTag)
geometryTag - the tag with the info for the node.Copyright © 2014–2015 Delft University of Technology. All rights reserved.