public class OTSRoadNode extends OTSNode
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2019-04-25 17:00:14 +0200 (Thu, 25 Apr 2019) $, @version $Revision: 5424 $, by $Author: pknoppers $,
initial version May 5, 2019
BOUNDINGRADIUS
Constructor and Description |
---|
OTSRoadNode(Network network,
String id,
OTSPoint3D point,
Direction direction)
Construct a new OTSRoadNode.
|
Modifier and Type | Method and Description |
---|---|
nl.tudelft.simulation.language.d3.DirectedPoint |
getLocation() |
addConnection, addConnections, addLink, clone1, clone2, equals, getBounds, getHeading, getId, getLinks, getNetwork, getPoint, hashCode, isDirectionallyConnectedTo, nextLinks, removeLink, toString
public OTSRoadNode(Network network, String id, OTSPoint3D point, Direction direction) throws NetworkException
network
- Network; the networkid
- String; name of the nodepoint
- OTSPoint3D location of the nodedirection
- Direction; driving direction at the nodeNetworkException
- if node already exists in the network, or if name of the node is not unique.public final nl.tudelft.simulation.language.d3.DirectedPoint getLocation()
getLocation
in interface nl.tudelft.simulation.dsol.animation.Locatable
getLocation
in class OTSNode
Copyright © 2014–2019 Delft University of Technology. All rights reserved.