1 package org.opentrafficsim.road.network.lane;
2
3 import java.io.Serializable;
4
5 import org.djunits.value.vdouble.scalar.Length;
6
7
8
9
10
11
12
13
14
15 public abstract class RoadMarkerAcross implements Serializable
16 {
17
18 private static final long serialVersionUID = 20141021L;
19
20
21 private final CrossSectionElement crossSectionElement;
22
23
24 private final Length longitudinalPosition;
25
26
27
28
29
30
31 public RoadMarkerAcross(final CrossSectionElement crossSectionElement, final Length longitudinalPosition)
32 {
33 this.crossSectionElement = crossSectionElement;
34 this.longitudinalPosition = longitudinalPosition;
35 }
36
37
38
39
40 public final CrossSectionElement getCrossSectionElement()
41 {
42 return this.crossSectionElement;
43 }
44
45
46
47
48 public final Length getLongitudinalPosition()
49 {
50 return this.longitudinalPosition;
51 }
52
53 }