public class KpiDirectedLanePosition extends Object implements Serializable
Copyright (c) 2013-2016 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,
org.djunits.value.vdouble.scalar.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.
|
org.djunits.value.vdouble.scalar.Length |
getPosition()
Retrieve the position on the lane.
|
int |
hashCode() |
String |
toString() |
public KpiDirectedLanePosition(LaneDataInterface lane, org.djunits.value.vdouble.scalar.Length position, KpiGtuDirectionality gtuDirection)
lane
- Lane; 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 org.djunits.value.vdouble.scalar.Length getPosition()
public final KpiGtuDirectionality getKpiGtuDirection()
Copyright © 2014–2016 Delft University of Technology. All rights reserved.