Class Trajectory.SpaceTimeView

java.lang.Object
org.opentrafficsim.kpi.sampling.Trajectory.SpaceTimeView
Enclosing class:
Trajectory<G extends GtuData>

public static final class Trajectory.SpaceTimeView extends Object
Space-time view of a trajectory. This supplies distance and time (and mean speed) in a space-time box.

Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
  • Method Details

    • getDistance

      public org.djunits.value.vdouble.scalar.Length getDistance()
      Returns the distance.
      Returns:
      Length; distance
    • getTime

      public org.djunits.value.vdouble.scalar.Duration getTime()
      Returns the time.
      Returns:
      Duration; time
    • toString

      public String toString()
      Overrides:
      toString in class Object