Interface NodeAnimation.NodeData

All Superinterfaces:
Identifiable, nl.tudelft.simulation.dsol.animation.Locatable, OtsShape
Enclosing class:
NodeAnimation

public static interface NodeAnimation.NodeData extends OtsShape, Identifiable
NodeData provides the information required to draw a node.

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

    • getLocation

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

      default double signedDistance(Point2d point)
      Specified by:
      signedDistance in interface OtsShape
    • contains

      default boolean contains(Point2d point)
      Specified by:
      contains in interface OtsShape
    • getZ

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