class ElevationTag extends Object implements Serializable
Copyright (c) 2013-2017 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) org.djunits.value.vdouble.scalar.Length |
a
The a coefficient.
|
(package private) org.djunits.value.vdouble.scalar.Length |
b
The b coefficient.
|
(package private) org.djunits.value.vdouble.scalar.Length |
c
The c coefficient.
|
(package private) org.djunits.value.vdouble.scalar.Length |
d
The d coefficient.
|
(package private) org.djunits.value.vdouble.scalar.Length |
elevation
Elevation = a + b*ds + c*ds2 + d*ds3
|
(package private) org.djunits.value.vdouble.scalar.Length |
s
Start position (s-coordinate).
|
| Constructor and Description |
|---|
ElevationTag() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static ElevationTag |
parseElevation(Node node,
OpenDriveNetworkLaneParser parser)
Parse the attributes of the road tag.
|
String |
toString() |
org.djunits.value.vdouble.scalar.Length s
org.djunits.value.vdouble.scalar.Length a
org.djunits.value.vdouble.scalar.Length b
org.djunits.value.vdouble.scalar.Length c
org.djunits.value.vdouble.scalar.Length d
org.djunits.value.vdouble.scalar.Length elevation
static ElevationTag parseElevation(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 failsCopyright © 2014–2018 Delft University of Technology. All rights reserved.