Package org.opentrafficsim.road.network
Class RoadMarkerAcross
java.lang.Object
org.opentrafficsim.road.network.RoadMarkerAcross
Copyright (c) 2013-2026 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, org.djunits.value.vdouble.scalar.Length longitudinalPosition) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionfinal CrossSectionElementReturns cross section element.final org.djunits.value.vdouble.scalar.LengthReturns longitudinal position.
-
Constructor Details
-
RoadMarkerAcross
public RoadMarkerAcross(CrossSectionElement crossSectionElement, org.djunits.value.vdouble.scalar.Length longitudinalPosition) 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
public final org.djunits.value.vdouble.scalar.Length getLongitudinalPosition()Returns longitudinal position.- Returns:
- longitudinalPosition.
-