public abstract class RoadMarkerAcross extends Object
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2015-07-26 01:01:13 +0200 (Sun, 26 Jul 2015) $, @version $Revision: 1155 $, by $Author: averbraeck $,
initial version Aug 21, 2014
| Constructor and Description |
|---|
RoadMarkerAcross(CrossSectionElement<?,?> crossSectionElement,
DoubleScalar.Rel<LengthUnit> longitudinalPosition) |
| Modifier and Type | Method and Description |
|---|---|
CrossSectionElement<?,?> |
getCrossSectionElement() |
DoubleScalar.Rel<LengthUnit> |
getLongitudinalPosition() |
public RoadMarkerAcross(CrossSectionElement<?,?> crossSectionElement, DoubleScalar.Rel<LengthUnit> longitudinalPosition)
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.public final CrossSectionElement<?,?> getCrossSectionElement()
public final DoubleScalar.Rel<LengthUnit> getLongitudinalPosition()
Copyright © 2014–2015 Delft University of Technology. All rights reserved.