Interface LinkAnimation.LinkData

All Superinterfaces:
org.djutils.base.Identifiable, nl.tudelft.simulation.dsol.animation.Locatable, org.opentrafficsim.base.geometry.OtsLocatable
Enclosing class:
LinkAnimation

public static interface LinkAnimation.LinkData extends org.opentrafficsim.base.geometry.OtsLocatable, org.djutils.base.Identifiable
LinkData provides the information required to draw a link.

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 Summary

    Modifier and Type
    Method
    Description
    org.djutils.draw.line.PolyLine2d
    Returns the design line.
    org.djutils.draw.point.OrientedPoint2d
    default double
    boolean
    Returns whether this is a connector.

    Methods inherited from interface org.djutils.base.Identifiable

    getId

    Methods inherited from interface nl.tudelft.simulation.dsol.animation.Locatable

    getDirZ

    Methods inherited from interface org.opentrafficsim.base.geometry.OtsLocatable

    getBounds
  • Method Details

    • getLocation

      org.djutils.draw.point.OrientedPoint2d getLocation()
      Specified by:
      getLocation in interface nl.tudelft.simulation.dsol.animation.Locatable
      Specified by:
      getLocation in interface org.opentrafficsim.base.geometry.OtsLocatable
    • isConnector

      boolean isConnector()
      Returns whether this is a connector.
      Returns:
      boolean; whether this is a connector.
    • getDesignLine

      org.djutils.draw.line.PolyLine2d getDesignLine()
      Returns the design line.
      Returns:
      PolyLine2d; design line.
    • getZ

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