public class LinkDirection 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.
| Constructor and Description |
|---|
LinkDirection(Link link,
GTUDirectionality direction) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
GTUDirectionality |
getDirection() |
String |
getId() |
Length |
getLength() |
Link |
getLink() |
LinkType |
getLinkType() |
Node |
getNodeFrom() |
Node |
getNodeTo() |
int |
hashCode() |
String |
toString() |
public LinkDirection(Link link, GTUDirectionality direction)
link - the linkdirection - the direction on the link, with or against the design linepublic final Link getLink()
public String getId()
Link.getId()public LinkType getLinkType()
Link.getLinkType()public Length getLength()
Link.getLength()public final GTUDirectionality getDirection()
public final Node getNodeTo()
public final Node getNodeFrom()
Copyright © 2014–2018 Delft University of Technology. All rights reserved.