Interface LinkAnimation.LinkData

All Superinterfaces:
Identifiable, LineLocatable, Locatable, OtsShape
Enclosing class:
LinkAnimation

public static interface LinkAnimation.LinkData extends LineLocatable, Identifiable
Provides the information required to draw a link.
  • Method Details

    • getLocation

      DirectedPoint2d getLocation()
      Specified by:
      getLocation in interface Locatable
      Specified by:
      getLocation in interface OtsShape
    • isConnector

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

      PolyLine2d getCenterLine()
      Returns the center line in world coordinates.
      Returns:
      the center line in world coordinates
    • getZ

      default double getZ()
      Specified by:
      getZ in interface Locatable