ID
- the ID type of the Node.P
- the point type, e.g., com.vividsolutions.jts.geom.Point, DirectedPoint.public interface Node<ID,P>
extends nl.tudelft.simulation.dsol.animation.LocatableInterface
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Method and Description |
---|---|
void |
addLinkIn(Link<?,? extends Node<ID,P>> linkIn)
Add an incoming link to this Node.
|
void |
addLinkOut(Link<?,? extends Node<ID,P>> linkOut)
Add an outgoing link to this Node.
|
DoubleScalar.Abs<AnglePlaneUnit> |
getDirection() |
ID |
getId() |
Set<Link<?,? extends Node<ID,P>>> |
getLinksIn() |
Set<Link<?,? extends Node<ID,P>>> |
getLinksOut() |
P |
getPoint() |
DoubleScalar.Abs<AngleSlopeUnit> |
getSlope() |
ID getId()
P getPoint()
DoubleScalar.Abs<AnglePlaneUnit> getDirection()
DoubleScalar.Abs<AngleSlopeUnit> getSlope()
void addLinkIn(Link<?,? extends Node<ID,P>> linkIn)
linkIn
- the link to add.void addLinkOut(Link<?,? extends Node<ID,P>> linkOut)
linkOut
- the link to add.Copyright © 2014–2015 Delft University of Technology. All rights reserved.