Class RoadMarkerAcross

  • All Implemented Interfaces:
    Serializable

    public abstract class RoadMarkerAcross
    extends Object
    implements Serializable

    Copyright (c) 2013-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
    BSD-style license. See OpenTrafficSim License.

    $LastChangedDate: 2015-09-03 13:38:01 +0200 (Thu, 03 Sep 2015) $, @version $Revision: 1378 $, by $Author: averbraeck $, initial version Aug 21, 2014

    Author:
    Alexander Verbraeck, Peter Knoppers
    See Also:
    Serialized Form
    • Constructor Detail

      • RoadMarkerAcross

        public RoadMarkerAcross​(CrossSectionElement crossSectionElement,
                                Length longitudinalPosition)
        Parameters:
        crossSectionElement - CrossSectionElement; Cross section element for which this is a road marker. Usually this will be a Lane.
        longitudinalPosition - Length; Longitudinal position on the cross section element.
    • Method Detail

      • getCrossSectionElement

        public final CrossSectionElement getCrossSectionElement()
        Returns:
        crossSectionElement.
      • getLongitudinalPosition

        public final Length getLongitudinalPosition()
        Returns:
        longitudinalPosition.