Interface CrossSectionElementAnimation.CrossSectionElementData

All Superinterfaces:
nl.tudelft.simulation.dsol.animation.Locatable, OtsShape
All Known Subinterfaces:
CrossSectionElementAnimation.ShoulderData, LaneAnimation.LaneData
Enclosing class:
CrossSectionElementAnimation<L extends CrossSectionElementAnimation.CrossSectionElementData>

public static interface CrossSectionElementAnimation.CrossSectionElementData extends OtsShape
CrossSectionElementData provides the information required to draw a cross section element.

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

    • getCenterLine

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

      String getLinkId()
      Return the id of the link.
      Returns:
      link id.