Package org.opentrafficsim.kpi.sampling
Class LanePosition
- java.lang.Object
-
- org.opentrafficsim.kpi.sampling.LanePosition
-
- All Implemented Interfaces:
Serializable
public class LanePosition extends Object implements Serializable
Store one position and lane of a GTU.Copyright (c) 2013-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.- Author:
- Alexander Verbraeck, Peter Knoppers
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LanePosition(LaneData lane, Length position)Construct a new LanePosition.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)LaneDatagetLaneData()Retrieve the lane.LengthgetPosition()Retrieve the position on the lane.inthashCode()StringtoString()
-