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-2019 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
    Length getDistance()
    Returns the distance.
    Duration getTime()
    Returns the time.
    java.lang.String toString()

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • getDistance

      public final Length getDistance()
      Returns the distance.
      Returns:
      Length; distance
    • getTime

      public final Duration getTime()
      Returns the time.
      Returns:
      Duration; time
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object