Interface OtsLocatable

All Superinterfaces:
nl.tudelft.simulation.dsol.animation.Locatable

public interface OtsLocatable extends nl.tudelft.simulation.dsol.animation.Locatable
Locatable that specifies return types.

Copyright (c) 2024-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Wouter Schakel
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the bounds relative to the location.
    org.djutils.draw.point.Point2d

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

    getDirZ, getZ
  • Method Details

    • getLocation

      org.djutils.draw.point.Point2d getLocation()
      Specified by:
      getLocation in interface nl.tudelft.simulation.dsol.animation.Locatable
    • getBounds

      OtsBounds2d getBounds()
      Returns the bounds relative to the location.
      Specified by:
      getBounds in interface nl.tudelft.simulation.dsol.animation.Locatable
      Returns:
      OtsBounds2d; bounds relative to the location.