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-2026 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
public org.djunits.value.vdouble.scalar.Length getLength()- Specified by:
getLengthin interfaceLinkData<LaneDataRoad>
-
getId
- Specified by:
getIdin interfaceIdentifiable
-
hashCode
public int hashCode() -
equals
-
toString
-