class ElevationTag 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) org.djunits.value.vdouble.scalar.Length.Rel |
a
a coefficient
|
(package private) org.djunits.value.vdouble.scalar.Length.Rel |
b
b coefficient
|
(package private) org.djunits.value.vdouble.scalar.Length.Rel |
c
c coefficient
|
(package private) org.djunits.value.vdouble.scalar.Length.Rel |
d
d coefficient
|
(package private) org.djunits.value.vdouble.scalar.Length.Rel |
elevation
elevation = a + b*ds + c*ds2 + d*ds3
|
(package private) org.djunits.value.vdouble.scalar.Length.Rel |
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.
|
org.djunits.value.vdouble.scalar.Length.Rel s
org.djunits.value.vdouble.scalar.Length.Rel a
org.djunits.value.vdouble.scalar.Length.Rel b
org.djunits.value.vdouble.scalar.Length.Rel c
org.djunits.value.vdouble.scalar.Length.Rel d
org.djunits.value.vdouble.scalar.Length.Rel 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–2016 Delft University of Technology. All rights reserved.