Class LinkData
java.lang.Object
org.opentrafficsim.road.network.sampling.LinkData
- All Implemented Interfaces:
Identifiable,LinkDataInterface
public class LinkData extends Object implements LinkDataInterface
Link 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
-
Constructor Summary
Constructors Constructor Description LinkData(CrossSectionLink link) -
Method Summary
-
Constructor Details
-
LinkData
- Parameters:
link- CrossSectionLink; wrapped link
-
-
Method Details
-
getLink
- Returns:
- link.
-
getLaneDatas
- Specified by:
getLaneDatasin interfaceLinkDataInterface
-
getLength
- Specified by:
getLengthin interfaceLinkDataInterface
-
getId
- Specified by:
getIdin interfaceIdentifiable- Specified by:
getIdin interfaceLinkDataInterface
-
hashCode
public final int hashCode() -
equals
-
toString
-