Class LaneData
- java.lang.Object
-
- org.opentrafficsim.road.network.sampling.LaneData
-
- All Implemented Interfaces:
Identifiable
,LaneDataInterface
public class LaneData extends Object implements LaneDataInterface
Lane representation in road sampler.Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version 13 okt. 2016
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getId()
Lane
getLane()
Length
getLength()
LinkData
getLinkData()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
LaneData
public LaneData(Lane lane)
- Parameters:
lane
- Lane; wrapped lane
-
-
Method Detail
-
getLane
public final Lane getLane()
- Returns:
- lane.
-
getLength
public final Length getLength()
- Specified by:
getLength
in interfaceLaneDataInterface
-
getLinkData
public final LinkData getLinkData()
- Specified by:
getLinkData
in interfaceLaneDataInterface
-
getId
public final String getId()
- Specified by:
getId
in interfaceIdentifiable
- Specified by:
getId
in interfaceLaneDataInterface
-
-