Package org.opentrafficsim.kpi.sampling
Class Trajectory.SpaceTimeView
java.lang.Object
org.opentrafficsim.kpi.sampling.Trajectory.SpaceTimeView
- Enclosing class:
 - Trajectory<G extends GtuDataInterface>
 
public static class Trajectory.SpaceTimeView
extends java.lang.Object
Space-time view of a trajectory. This supplies distance and time (and mean speed) in a space-time box.
 
 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 5 okt. 2018 
 - Author:
 - Alexander Verbraeck, Peter Knoppers, Wouter Schakel
 
- 
Method Summary
Modifier and Type Method Description LengthgetDistance()Returns the distance.DurationgetTime()Returns the time.java.lang.StringtoString() 
- 
Method Details
- 
getDistance
Returns the distance.- Returns:
 - Length; distance
 
 - 
getTime
Returns the time.- Returns:
 - Duration; time
 
 - 
toString
public java.lang.String toString()- Overrides:
 toStringin classjava.lang.Object
 
 -