Class LaneTest.MockLaneBasedObject
- java.lang.Object
-
- org.opentrafficsim.road.network.lane.LaneTest.MockLaneBasedObject
-
-
Constructor Summary
Constructors Constructor Description MockLaneBasedObject(String id, Length position)
Construct a new Mocked SingleSensor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Length
getLongitudinalPosition()
Retrieve the position of the mocked sensor.LaneBasedObject
getMock()
Retrieve the mocked LaneBasedObject.String
toString()
-
-
-
Method Detail
-
getMock
public LaneBasedObject getMock()
Retrieve the mocked LaneBasedObject.- Returns:
- LaneBasedObject; the mocked LaneBasedObject
-
getLongitudinalPosition
public Length getLongitudinalPosition()
Retrieve the position of the mocked sensor.- Returns:
- Length; the longitudinal position of the mocked sensor
-
-