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

    Fields
    Modifier and Type
    Field
    Description
    static final org.opentrafficsim.base.geometry.OtsBounds2d
    Standard bounds.
  • Method Summary

    Modifier and Type
    Method
    Description
    default org.opentrafficsim.base.geometry.OtsBounds2d
    default double
    boolean
    Returns whether the priority is all stop.
    boolean
    Returns whether the priority is bus stop.
    boolean
    Returns whether the priority is none.
    boolean
    Returns whether the priority is priority.
    boolean
    Returns whether the priority is stop.
    boolean
    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 BOUNDS
      Standard bounds.
  • Method Details

    • getBounds

      default org.opentrafficsim.base.geometry.OtsBounds2d getBounds()
      Specified by:
      getBounds in interface nl.tudelft.simulation.dsol.animation.Locatable
      Specified by:
      getBounds in interface org.opentrafficsim.base.geometry.OtsLocatable
    • getZ

      default double getZ() throws RemoteException
      Specified by:
      getZ in interface nl.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.