Class MapShoulderData

java.lang.Object
org.opentrafficsim.editor.extensions.map.MapCrossSectionData
org.opentrafficsim.editor.extensions.map.MapShoulderData
All Implemented Interfaces:
nl.tudelft.simulation.dsol.animation.Locatable, org.opentrafficsim.base.geometry.OtsLocatable, CrossSectionElementAnimation.CrossSectionElementData, CrossSectionElementAnimation.ShoulderData

public class MapShoulderData extends MapCrossSectionData implements CrossSectionElementAnimation.ShoulderData
Shoulder data for in the editor. Implements ShoulderData additionally to extending EditorCrossSectionData.

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
  • Constructor Details

    • MapShoulderData

      public MapShoulderData(org.djunits.value.vdouble.scalar.Length startOffset, XsdTreeNode linkNode, org.djutils.draw.line.PolyLine2d centerLine, org.djutils.draw.line.Polygon2d contour, org.opentrafficsim.road.network.lane.SliceInfo sliceInfo)
      Constructor.
      Parameters:
      startOffset - Length; start offset.
      linkNode - XsdTreeNode; node representing the element.
      centerLine - PolyLine2d; center line.
      contour - PolyLine2d; contour.
      sliceInfo - SliceInfo; slice info.
  • Method Details