Class PerceivedDistance

java.lang.Object
org.opentrafficsim.road.gtu.lane.perception.object.PerceivedObjectBase
org.opentrafficsim.road.gtu.lane.perception.object.PerceivedDistance
All Implemented Interfaces:
Comparable<PerceivedObject>, Identifiable, PerceivedObject

public class PerceivedDistance extends PerceivedObjectBase
Generic class for any static object at a distance, without specifying what the object type is.

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
  • Constructor Details

    • PerceivedDistance

      public PerceivedDistance(Length distance)
      Construct a new Headway information object with just a distance, without any further information about the object; it assumes a speed of 0 at the headway, so it also good to store information about a lane drop.
      Parameters:
      distance - the distance that needs to be stored.
  • Method Details