public class KpiDirectedLanePosition extends Object implements Serializable
 Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. 
 BSD-style license. See OpenTrafficSim License.
 
| Constructor and Description | 
|---|
| KpiDirectedLanePosition(LaneDataInterface lane,
                       Length position,
                       KpiGtuDirectionality gtuDirection)Construct a new DirectedLanePosition. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj) | 
| KpiGtuDirectionality | getKpiGtuDirection()Retrieve the gtuDirection. | 
| LaneDataInterface | getLaneData()Retrieve the lane. | 
| Length | getPosition()Retrieve the position on the lane. | 
| int | hashCode() | 
| String | toString() | 
public KpiDirectedLanePosition(LaneDataInterface lane, Length position, KpiGtuDirectionality gtuDirection)
lane - LaneDataInterface; the lane for the positionposition - Length; the position on the lane, relative to the cross section link (design line)gtuDirection - KpiGtuDirectionality; the direction the vehicle is driving to -- either in the direction of the
            design line, or against itpublic final LaneDataInterface getLaneData()
public final Length getPosition()
public final KpiGtuDirectionality getKpiGtuDirection()
Copyright © 2014–2019 Delft University of Technology. All rights reserved.