class GeometryTag 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: 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.Angle |
hdg
The hdg position (s-coordinate).
|
(package private) String |
id
Sequence of the geometry.
|
(package private) org.opentrafficsim.core.geometry.OTSLine3D |
interLine |
(package private) org.djunits.value.vdouble.scalar.Length |
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 |
s
Start position (s-coordinate).
|
(package private) SpiralTag |
spiralTag
SpiralTag
|
(package private) org.djunits.value.vdouble.scalar.Length |
x
The x position (s-coordinate).
|
(package private) org.djunits.value.vdouble.scalar.Length |
y
The y position (s-coordinate).
|
(package private) org.djunits.value.vdouble.scalar.Length |
z
The z position (s-coordinate).
|
| Constructor and Description |
|---|
GeometryTag() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static org.opentrafficsim.core.network.OTSNode |
makeOTSNode(org.opentrafficsim.core.network.Network network,
GeometryTag geometryTag) |
(package private) static GeometryTag |
parseGeometry(Node node,
OpenDriveNetworkLaneParser parser)
Parse the attributes of the road tag.
|
String |
toString() |
String id
org.djunits.value.vdouble.scalar.Length s
org.djunits.value.vdouble.scalar.Length x
org.djunits.value.vdouble.scalar.Length y
org.djunits.value.vdouble.scalar.Length z
org.djunits.value.vdouble.scalar.Angle hdg
org.djunits.value.vdouble.scalar.Length length
SpiralTag spiralTag
ArcTag arcTag
org.opentrafficsim.core.network.OTSNode node
org.opentrafficsim.core.geometry.OTSLine3D interLine
static GeometryTag parseGeometry(Node node, OpenDriveNetworkLaneParser parser) throws SAXException
node - the top-level road nodeparser - the parser with the lists of informationSAXException - when parsing of the tag failsstatic org.opentrafficsim.core.network.OTSNode makeOTSNode(org.opentrafficsim.core.network.Network network,
GeometryTag geometryTag)
throws org.opentrafficsim.core.network.NetworkException
network - the networkgeometryTag - the tag with the info for the node.org.opentrafficsim.core.network.NetworkException - if node already exists in the network, or if name of the node is not unique.Copyright © 2014–2016 Delft University of Technology. All rights reserved.