Class Trajectory.SpaceTimeView

  • Enclosing class:
    Trajectory<G extends GtuDataInterface>

    public static 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-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 Detail

      • getDistance

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

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