Class RoadMarkerAcross
java.lang.Object
org.opentrafficsim.road.network.lane.RoadMarkerAcross
- All Implemented Interfaces:
Serializable
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers
- See Also:
-
Constructor Summary
ConstructorDescriptionRoadMarkerAcross
(CrossSectionElement crossSectionElement, org.djunits.value.vdouble.scalar.Length longitudinalPosition) -
Method Summary
Modifier and TypeMethodDescriptionfinal CrossSectionElement
final org.djunits.value.vdouble.scalar.Length
-
Constructor Details
-
RoadMarkerAcross
public RoadMarkerAcross(CrossSectionElement crossSectionElement, org.djunits.value.vdouble.scalar.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 Details
-
getCrossSectionElement
- Returns:
- crossSectionElement.
-
getLongitudinalPosition
public final org.djunits.value.vdouble.scalar.Length getLongitudinalPosition()- Returns:
- longitudinalPosition.
-