class ArcTag extends Object implements Serializable
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2018-09-19 13:55:45 +0200 (Wed, 19 Sep 2018) $, @version $Revision: 4006 $, by $Author: averbraeck $,
initial version Jul 24, 2015
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
ArcTag.ArcDirection
Direction of the arc; LEFT or RIGHT.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) org.djunits.value.vdouble.scalar.Direction |
angle
Angle.
|
(package private) org.opentrafficsim.core.geometry.OTSPoint3D |
center
The center coordinate of the arc.
|
(package private) ArcTag.ArcDirection |
direction
Direction.
|
(package private) org.djunits.value.vdouble.scalar.Length |
radius
Radius.
|
(package private) double |
startAngle
The startAngle in radians compared to the center coordinate.
|
| Constructor and Description |
|---|
ArcTag() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static void |
parseArc(Node arcNode,
VissimNetworkLaneParser parser,
LinkTag linkTag)
Parse the LINK.ARC tag.
|
String |
toString() |
org.djunits.value.vdouble.scalar.Direction angle
org.djunits.value.vdouble.scalar.Length radius
ArcTag.ArcDirection direction
org.opentrafficsim.core.geometry.OTSPoint3D center
double startAngle
static void parseArc(Node arcNode, VissimNetworkLaneParser parser, LinkTag linkTag) throws SAXException, org.opentrafficsim.core.network.NetworkException
arcNode - the XML-node to parseparser - the parser with the lists of informationlinkTag - the parent link tagSAXException - 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.