public static final class ConflictUtil.ConflictPlans extends Object implements Blockable, Serializable
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.
Constructor and Description |
---|
ConflictPlans() |
Modifier and Type | Method and Description |
---|---|
TurnIndicatorIntent |
getIndicatorIntent() |
Length |
getIndicatorObjectDistance() |
boolean |
isBlocking()
Returns whether the GTU is blocking conflicts.
|
void |
setBlocking(boolean blocking)
Sets the GTU as blocking conflicts or not.
|
void |
setIndicatorIntent(TurnIndicatorIntent intent,
Length distance) |
String |
toString() |
public TurnIndicatorIntent getIndicatorIntent()
public Length getIndicatorObjectDistance()
public void setIndicatorIntent(TurnIndicatorIntent intent, Length distance)
intent
- TurnIndicatorIntent; indicator intentdistance
- Length; distance to object pertaining to the turn indicator intentpublic boolean isBlocking()
isBlocking
in interface Blockable
public void setBlocking(boolean blocking)
blocking
- boolean; whether the GTU is blocking conflictsCopyright © 2014–2019 Delft University of Technology. All rights reserved.