Package org.opentrafficsim.draw.road
Interface PriorityAnimation.PriorityData
- All Superinterfaces:
nl.tudelft.simulation.dsol.animation.Locatable
,org.opentrafficsim.base.geometry.OtsLocatable
- Enclosing class:
- PriorityAnimation
public static interface PriorityAnimation.PriorityData
extends org.opentrafficsim.base.geometry.OtsLocatable
Data for priority animation.
Copyright (c) 2024-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.opentrafficsim.base.geometry.OtsBounds2d
Standard bounds. -
Method Summary
Modifier and TypeMethodDescriptiondefault org.opentrafficsim.base.geometry.OtsBounds2d
default double
getZ()
boolean
Returns whether the priority is all stop.boolean
Returns whether the priority is bus stop.boolean
isNone()
Returns whether the priority is none.boolean
Returns whether the priority is priority.boolean
isStop()
Returns whether the priority is stop.boolean
isYield()
Returns whether the priority is yield.Methods inherited from interface nl.tudelft.simulation.dsol.animation.Locatable
getDirZ
Methods inherited from interface org.opentrafficsim.base.geometry.OtsLocatable
getLocation
-
Field Details
-
BOUNDS
static final org.opentrafficsim.base.geometry.OtsBounds2d BOUNDSStandard bounds.
-
-
Method Details
-
getBounds
default org.opentrafficsim.base.geometry.OtsBounds2d getBounds()- Specified by:
getBounds
in interfacenl.tudelft.simulation.dsol.animation.Locatable
- Specified by:
getBounds
in interfaceorg.opentrafficsim.base.geometry.OtsLocatable
-
getZ
- Specified by:
getZ
in interfacenl.tudelft.simulation.dsol.animation.Locatable
- Throws:
RemoteException
-
isAllStop
boolean isAllStop()Returns whether the priority is all stop.- Returns:
- boolean; whether the priority is all stop.
-
isBusStop
boolean isBusStop()Returns whether the priority is bus stop.- Returns:
- boolean; whether the priority is bus stop.
-
isNone
boolean isNone()Returns whether the priority is none.- Returns:
- boolean; whether the priority is none.
-
isPriority
boolean isPriority()Returns whether the priority is priority.- Returns:
- boolean; whether the priority is priority.
-
isStop
boolean isStop()Returns whether the priority is stop.- Returns:
- boolean; whether the priority is stop.
-
isYield
boolean isYield()Returns whether the priority is yield.- Returns:
- boolean; whether the priority is yield.
-