Class RoadMarkerAcross
java.lang.Object
org.opentrafficsim.road.network.lane.RoadMarkerAcross
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
-
Constructor Summary
ConstructorsConstructorDescriptionRoadMarkerAcross(CrossSectionElement crossSectionElement, Length longitudinalPosition) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionfinal CrossSectionElementReturns cross section element.final LengthReturns longitudinal position.
-
Constructor Details
-
RoadMarkerAcross
Constructor.- Parameters:
crossSectionElement- Cross section element for which this is a road marker. Usually this will be a Lane.longitudinalPosition- Longitudinal position on the cross section element.
-
-
Method Details
-
getCrossSectionElement
Returns cross section element.- Returns:
- crossSectionElement.
-
getLongitudinalPosition
Returns longitudinal position.- Returns:
- longitudinalPosition.
-