Class StaticObject

java.lang.Object
nl.tudelft.simulation.event.EventProducer
org.opentrafficsim.core.object.StaticObject
All Implemented Interfaces:
java.io.Serializable, Locatable, EventProducerInterface, Identifiable, Drawable, ObjectInterface

public class StaticObject
extends EventProducer
implements ObjectInterface, java.io.Serializable, Identifiable, Drawable
A static object with a height that a GTU might have to avoid, or which can cause occlusion for perception. All objects are potential event producers, which allows them to signal that their state has changed.

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.

$LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $, initial version Nov 26, 2015
Author:
Alexander Verbraeck, Peter Knoppers
See Also:
Serialized Form
  • Constructor Details

    • StaticObject

      public StaticObject​(java.lang.String id, OTSLine3D geometry, Length height)
      Parameters:
      id - String; the id
      geometry - OTSLine3D; the top-level 2D outline of the object
      height - Length; the height of the object
    • StaticObject

      public StaticObject​(java.lang.String id, OTSLine3D geometry)
      Parameters:
      id - String; the id
      geometry - OTSLine3D; the top-level 2D outline of the object
  • Method Details