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 doublegetZ()booleanReturns whether the priority is all stop.booleanReturns whether the priority is bus stop.booleanisNone()Returns whether the priority is none.booleanReturns whether the priority is priority.booleanisStop()Returns whether the priority is stop.booleanisYield()Returns whether the priority is yield.Methods inherited from interface org.opentrafficsim.draw.ClickableLocatable
getBoundsMethods inherited from interface nl.tudelft.simulation.dsol.animation.Locatable
getDirZMethods inherited from interface org.opentrafficsim.base.geometry.OtsLocatable
getLocation, getShapeMethods inherited from interface org.opentrafficsim.base.geometry.SpatialObject
getContour
-
Method Details
-
getZ
- Specified by:
getZin 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.
-