Class LinkDataRoad
java.lang.Object
org.opentrafficsim.road.network.sampling.LinkDataRoad
- All Implemented Interfaces:
org.djutils.base.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
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
final String
getId()
final List<LaneDataRoad>
final org.djunits.value.vdouble.scalar.Length
final CrossSectionLink
getLink()
final int
hashCode()
final String
toString()
-
Constructor Details
-
LinkDataRoad
- Parameters:
link
- CrossSectionLink; wrapped link
-
-
Method Details
-
getLink
- Returns:
- link.
-
getLaneDatas
- Specified by:
getLaneDatas
in interfaceLinkData<LaneDataRoad>
-
getLength
public final org.djunits.value.vdouble.scalar.Length getLength()- Specified by:
getLength
in interfaceLinkData<LaneDataRoad>
-
getId
- Specified by:
getId
in interfaceorg.djutils.base.Identifiable
-
hashCode
public final int hashCode() -
equals
-
toString
-