class TrajectoryPlot.TrajectoryAndLengthOffset extends Object
Constructor and Description |
---|
TrajectoryAndLengthOffset(org.opentrafficsim.kpi.sampling.Trajectory trajectory,
double lengthOffset)
Construct a new TrajectoryAndLengthOffset object.
|
Modifier and Type | Method and Description |
---|---|
double |
getLengthOffset()
Retrieve the lengthOffset.
|
org.opentrafficsim.kpi.sampling.Trajectory |
getTrajectory()
Retrieve the trajectory.
|
String |
toString() |
TrajectoryAndLengthOffset(org.opentrafficsim.kpi.sampling.Trajectory trajectory, double lengthOffset)
trajectory
- org.opentrafficsim.kpi.sampling.Trajectory; the trajectorylengthOffset
- double; the length from the beginning of the sampled path to the start of the lane to which the
trajectory belongsCopyright © 2014–2018 Delft University of Technology. All rights reserved.