1 package org.opentrafficsim.kpi.interfaces;
2
3 import org.djunits.value.vdouble.scalar.Length;
4 import org.opentrafficsim.base.Identifiable;
5
6 /**
7 * Represents a lane for sampling.
8 * <p>
9 * Copyright (c) 2013-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
10 * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
11 * </p>
12 * @author <a href="https://github.com/averbraeck">Alexander Verbraeck</a>
13 * @author <a href="https://tudelft.nl/staff/p.knoppers-1">Peter Knoppers</a>
14 * @author <a href="https://dittlab.tudelft.nl">Wouter Schakel</a>
15 */
16 public interface LaneData extends Identifiable
17 {
18
19 /**
20 * Returns the length of the lane.
21 * @return length of the lane
22 */
23 Length getLength();
24
25 /**
26 * Returns the parent link of the lane.
27 * @return parent link of the lane
28 */
29 LinkData getLinkData();
30
31 }