Interface ObjectInterface

All Superinterfaces:
EventProducerInterface, Identifiable, Locatable
All Known Implementing Classes:
StaticObject

public interface ObjectInterface
extends Locatable, Identifiable, EventProducerInterface
Generic object that can be placed in the model. This could be implemented for a traffic light, a road sign, or an obstacle.

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 Dec 16, 2015
Author:
Alexander Verbraeck, Peter Knoppers
  • Method Details

    • getGeometry

      OTSLine3D getGeometry()
      Returns:
      the outline geometry of the object.
    • getHeight

      Length getHeight()
      Returns:
      the height of the object (can be Length.ZERO).
    • getFullId

      java.lang.String getFullId()
      Returns:
      the full id that makes the id unique in the network.