1
2
3
4 package org.opentrafficsim.road.network.factory.shape;
5
6 import org.opentrafficsim.core.network.OTSNode;
7
8 import com.vividsolutions.jts.geom.Geometry;
9
10
11
12
13 public class NWBRoadElement extends AbstractNWBRoadElement {
14
15
16
17 private String junctionIdBegin;
18
19
20 private String junctionIdEnd;
21
22
23 private String adminDirection;
24
25
26 private String drivingDirection;
27
28
29 private Double beginKM;
30
31
32 private Double endKM;
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49 public NWBRoadElement(Geometry myGeom, OTSNode startNode, OTSNode endNode, String roadId, Double beginDistance,
50 Double endDistance, String junctionIdBegin, String junctionIdEnd, String adminDirection, String drivingDirection,
51 Double beginKM, Double endKM) {
52 super(myGeom, startNode, endNode, roadId, beginDistance, endDistance);
53 this.junctionIdBegin = junctionIdBegin;
54 this.junctionIdEnd = junctionIdEnd;
55 this.adminDirection = adminDirection;
56 this.drivingDirection = drivingDirection;
57 this.beginKM = beginKM;
58 this.endKM = endKM;
59 }
60
61 public String getJunctionIdBegin() {
62 return junctionIdBegin;
63 }
64
65 public String getJunctionIdEnd() {
66 return junctionIdEnd;
67 }
68
69 public String getAdminDirection() {
70 return adminDirection;
71 }
72
73 public String getDrivingDirection() {
74 return drivingDirection;
75 }
76
77 public Double getBeginKM() {
78 return beginKM;
79 }
80
81 public Double getEndKM() {
82 return endKM;
83 }
84
85 }