public class LaneStructureRecord extends Object
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
LaneStructureRecord(Lane lane,
org.opentrafficsim.core.gtu.GTUDirectionality direction) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNext(LaneStructureRecord next) |
org.opentrafficsim.core.gtu.GTUDirectionality |
getDirection() |
org.opentrafficsim.core.network.Node |
getFromNode() |
Lane |
getLane() |
LaneStructureRecord |
getLeft() |
List<LaneStructureRecord> |
getNext() |
LaneStructureRecord |
getRight() |
org.opentrafficsim.core.network.Node |
getToNode() |
boolean |
isLinkSplit() |
void |
setLeft(LaneStructureRecord left) |
void |
setNext(List<LaneStructureRecord> nextList) |
void |
setRight(LaneStructureRecord right) |
public LaneStructureRecord(Lane lane, org.opentrafficsim.core.gtu.GTUDirectionality direction)
lane - the lane of the LSRdirection - the direction on which we process this lanepublic final org.opentrafficsim.core.network.Node getFromNode()
public final org.opentrafficsim.core.network.Node getToNode()
public boolean isLinkSplit()
public final LaneStructureRecord getLeft()
public final void setLeft(LaneStructureRecord left)
left - set the left LSR or null if not available. Left and right are relative to the driving direction.public final LaneStructureRecord getRight()
public final void setRight(LaneStructureRecord right)
right - set the right LSR or null if not available. Left and right are relative to the driving directionpublic final List<LaneStructureRecord> getNext()
public final void setNext(List<LaneStructureRecord> nextList)
nextList - set the next LSRs. The list is empty if no LSRs are available. Next is relative to the driving direction,
not to the design line direction.public final void addNext(LaneStructureRecord next)
next - a next LSRs to add. Next is relative to the driving direction, not to the design line direction.public final Lane getLane()
public final org.opentrafficsim.core.gtu.GTUDirectionality getDirection()
Copyright © 2014–2016 Delft University of Technology. All rights reserved.