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 NWBDrivingLane extends AbstractNWBRoadElement
14 {
15
16
17 private Integer startNumberOfLanes;
18
19
20 private Integer endNumberOfLanes;
21
22
23 private String sideCode;
24
25
26
27
28
29
30
31
32
33
34
35
36 public NWBDrivingLane(Geometry myGeom, OTSNode startNode, OTSNode endNode, String roadId, Double beginDistance,
37 Double endDistance, Integer startNumberOfLanes, Integer endNumberOfLanes, String sideCode)
38 {
39 super(myGeom, startNode, endNode, roadId, beginDistance, endDistance);
40 this.startNumberOfLanes = startNumberOfLanes;
41 this.endNumberOfLanes = endNumberOfLanes;
42 this.sideCode = sideCode;
43 }
44
45 public Integer getStartNumberOfLanes()
46 {
47 return startNumberOfLanes;
48 }
49
50 public Integer getEndNumberOfLanes()
51 {
52 return endNumberOfLanes;
53 }
54
55 public String getSideCode()
56 {
57 return sideCode;
58 }
59
60 }