Interface LocatedObject

All Superinterfaces:
org.djutils.event.EventProducer, org.djutils.base.Identifiable, nl.tudelft.simulation.dsol.animation.Locatable, OtsLocatable, Remote, Serializable, SpatialObject
All Known Subinterfaces:
Detector
All Known Implementing Classes:
StaticObject

public interface LocatedObject extends OtsLocatable, org.djutils.base.Identifiable, org.djutils.event.EventProducer, Serializable
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-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
  • Field Summary

    Fields inherited from interface org.djutils.event.EventProducer

    FIRST_POSITION, LAST_POSITION
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the full id that makes the id unique in the network.
    org.djunits.value.vdouble.scalar.Length
    Returns the object height.

    Methods inherited from interface org.djutils.event.EventProducer

    addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireUnverifiedEvent, fireUnverifiedEvent, fireUnverifiedTimedEvent, fireUnverifiedTimedEvent, getEventListenerMap, getEventTypesWithListeners, getListenerReferences, hasListeners, numberOfListeners, removeAllListeners, removeAllListeners, removeListener

    Methods inherited from interface org.djutils.base.Identifiable

    getId

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

    getDirZ, getZ

    Methods inherited from interface org.opentrafficsim.base.geometry.OtsLocatable

    getBounds, getLocation, getShape

    Methods inherited from interface org.opentrafficsim.base.geometry.SpatialObject

    getContour
  • Method Details

    • getHeight

      org.djunits.value.vdouble.scalar.Length getHeight()
      Returns the object height.
      Returns:
      the height of the object (can be Length.ZERO).
    • getFullId

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