Interface AbstractLineAnimation.LaneBasedObjectData

All Superinterfaces:
Identifiable, LineLocatable, nl.tudelft.simulation.dsol.animation.Locatable, OtsShape
All Known Subinterfaces:
BusStopAnimation.BusStopData, ConflictAnimation.ConflictData, LaneDetectorAnimation.LaneDetectorData, LaneDetectorAnimation.LoopDetectorData, LaneDetectorAnimation.SinkData, TrafficLightAnimation.TrafficLightData
Enclosing class:
AbstractLineAnimation<T extends AbstractLineAnimation.LaneBasedObjectData>

public static interface AbstractLineAnimation.LaneBasedObjectData extends LineLocatable, Identifiable
LaneBasedObjectData provides the information required to draw a lane based object.

Copyright (c) 2023-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Wouter Schakel
  • Method Details

    • getLaneWidth

      Length getLaneWidth()
      Returns the width of the lane.
      Returns:
      width of the lane.
    • getLocation

      DirectedPoint2d getLocation()
      Specified by:
      getLocation in interface nl.tudelft.simulation.dsol.animation.Locatable
      Specified by:
      getLocation in interface OtsShape
    • getZ

      default double getZ()
      Specified by:
      getZ in interface nl.tudelft.simulation.dsol.animation.Locatable