Package org.opentrafficsim.draw.road
Interface PriorityAnimation.PriorityData
- All Superinterfaces:
ClickableLocatable
,nl.tudelft.simulation.dsol.animation.Locatable
,org.opentrafficsim.base.geometry.OtsLocatable
,org.opentrafficsim.base.geometry.SpatialObject
- Enclosing class:
- PriorityAnimation
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
Fields inherited from interface org.opentrafficsim.draw.ClickableLocatable
EXPANSE
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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 org.opentrafficsim.draw.ClickableLocatable
getBounds
Methods inherited from interface nl.tudelft.simulation.dsol.animation.Locatable
getDirZ
Methods inherited from interface org.opentrafficsim.base.geometry.OtsLocatable
getLocation, getShape
Methods inherited from interface org.opentrafficsim.base.geometry.SpatialObject
getContour
-
Method Details
-
getZ
- Specified by:
getZ
in interfacenl.tudelft.simulation.dsol.animation.Locatable
- Throws:
RemoteException
-
isAllStop
boolean isAllStop()Returns whether the priority is all stop.- Returns:
- whether the priority is all stop.
-
isBusStop
boolean isBusStop()Returns whether the priority is bus stop.- Returns:
- whether the priority is bus stop.
-
isNone
boolean isNone()Returns whether the priority is none.- Returns:
- whether the priority is none.
-
isPriority
boolean isPriority()Returns whether the priority is priority.- Returns:
- whether the priority is priority.
-
isStop
boolean isStop()Returns whether the priority is stop.- Returns:
- whether the priority is stop.
-
isYield
boolean isYield()Returns whether the priority is yield.- Returns:
- whether the priority is yield.
-