Class LinkDataRoad
java.lang.Object
org.opentrafficsim.road.network.sampling.LinkDataRoad
- All Implemented Interfaces:
Identifiable,LinkData<LaneDataRoad>
Link representation in road sampler.
Copyright (c) 2013-2024 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, Wouter Schakel
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LinkDataRoad
Constructor.- Parameters:
link- wrapped link
-
-
Method Details
-
getLink
Return link.- Returns:
- link.
-
getLanes
- Specified by:
getLanesin interfaceLinkData<LaneDataRoad>
-
getLength
- Specified by:
getLengthin interfaceLinkData<LaneDataRoad>
-
getId
- Specified by:
getIdin interfaceIdentifiable
-
hashCode
public final int hashCode() -
equals
-
toString
-