Interface ObjectInterface

All Superinterfaces:
nl.tudelft.simulation.event.EventProducerInterface, Identifiable, Locatable
All Known Implementing Classes:
StaticObject

public interface ObjectInterface
extends Locatable, Identifiable, nl.tudelft.simulation.event.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-2020 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
  • Field Summary

    Fields inherited from interface nl.tudelft.simulation.event.EventProducerInterface

    FIRST_POSITION, LAST_POSITION
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getFullId()  
    OTSLine3D getGeometry()  
    Length getHeight()  

    Methods inherited from interface nl.tudelft.simulation.event.EventProducerInterface

    addListener, addListener, addListener, addListener, removeListener

    Methods inherited from interface org.opentrafficsim.base.Identifiable

    getId

    Methods inherited from interface nl.tudelft.simulation.dsol.animation.Locatable

    getBounds, getLocation
  • 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.