class GTUTag extends Object implements Serializable
<xsd:element name="GTU">
<xsd:complexType>
<xsd:attribute name="NAME" type="xsd:string" use="required" />
<xsd:attribute name="GTUTYPE" type="xsd:string" use="required" />
<xsd:attribute name="LENGTH" type="LENGTHDISTTYPE" use="required" />
<xsd:attribute name="WIDTH" type="LENGTHDISTTYPE" use="required" />
<xsd:attribute name="MAXSPEED" type="SPEEDDISTTYPE" use="required" />
<xsd:attribute ref="xml:base" />
</xsd:complexType>
</xsd:element>
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) org.opentrafficsim.core.gtu.GTUType |
gtuType
Type.
|
(package private) org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Length,org.djunits.unit.LengthUnit> |
lengthDist
GTU length.
|
(package private) org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Speed,org.djunits.unit.SpeedUnit> |
maxSpeedDist
Maximum speed.
|
(package private) String |
name
Name.
|
(package private) org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Length,org.djunits.unit.LengthUnit> |
widthDist
GTU width.
|
| Constructor and Description |
|---|
GTUTag() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static void |
parseGTUs(NodeList nodeList,
XmlNetworkLaneParser parser) |
String |
toString() |
String name
org.opentrafficsim.core.gtu.GTUType gtuType
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Length,org.djunits.unit.LengthUnit> lengthDist
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Length,org.djunits.unit.LengthUnit> widthDist
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Speed,org.djunits.unit.SpeedUnit> maxSpeedDist
static void parseGTUs(NodeList nodeList, XmlNetworkLaneParser parser) throws SAXException, org.opentrafficsim.core.network.NetworkException, org.opentrafficsim.core.gtu.GTUException
nodeList - nodeList the top-level nodes of the XML-fileparser - the parser with the lists of informationSAXException - when parsing of GTU tag failsorg.opentrafficsim.core.network.NetworkException - when parsing of GTU tag failsorg.opentrafficsim.core.gtu.GTUException - if GTUType defined twiceCopyright © 2014–2017 Delft University of Technology. All rights reserved.