1 package org.opentrafficsim.road.network.lane.object;
2
3 import org.djunits.value.vdouble.scalar.Length;
4 import org.opentrafficsim.core.dsol.OTSSimulatorInterface;
5 import org.opentrafficsim.core.geometry.OTSLine3D;
6 import org.opentrafficsim.core.network.NetworkException;
7 import org.opentrafficsim.road.network.lane.CrossSectionElement;
8 import org.opentrafficsim.road.network.lane.Lane;
9
10
11
12
13
14
15
16
17
18
19
20
21 public class LaneBlock extends AbstractLaneBasedObject
22 {
23
24 private static final long serialVersionUID = 20150724L;
25
26
27
28
29
30
31
32 public LaneBlock(final Lane lane, final Length longitudinalPosition, final Length height) throws NetworkException
33 {
34 super(lane, longitudinalPosition, LaneBasedObject.makeGeometry(lane, longitudinalPosition), height);
35 }
36
37
38
39
40
41
42
43
44 public LaneBlock(final Lane lane, final Length longitudinalPosition, final OTSLine3D geometry, final Length height)
45 throws NetworkException
46 {
47 super(lane, longitudinalPosition, geometry, height);
48 }
49
50
51 @Override
52 @SuppressWarnings("checkstyle:designforextension")
53 public String toString()
54 {
55 return "LaneBlock: " + super.toString();
56 }
57
58
59 @Override
60 public LaneBlock clone(final CrossSectionElement newCSE, final OTSSimulatorInterface newSimulator,
61 final boolean animation) throws NetworkException
62 {
63
64 return null;
65 }
66
67 }