Interface ClickablePointLocatable

All Superinterfaces:
ClickableLocatable, nl.tudelft.simulation.dsol.animation.Locatable, org.opentrafficsim.base.geometry.OtsLocatable, org.opentrafficsim.base.geometry.SpatialObject
All Known Subinterfaces:
NodeAnimation.NodeData

public interface ClickablePointLocatable extends ClickableLocatable
This class returns bounds that respond to contains(x, y) by checking a clickable expanse around a point (radius).

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
  • Field Summary

    Fields inherited from interface org.opentrafficsim.draw.ClickableLocatable

    EXPANSE
  • Method Summary

    Modifier and Type
    Method
    Description
    default org.djutils.draw.bounds.Bounds2d
     

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

    getDirZ, getZ

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

    getLocation, getShape

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

    getContour
  • Method Details

    • getBounds

      default org.djutils.draw.bounds.Bounds2d getBounds()
      Specified by:
      getBounds in interface ClickableLocatable
      Specified by:
      getBounds in interface nl.tudelft.simulation.dsol.animation.Locatable
      Specified by:
      getBounds in interface org.opentrafficsim.base.geometry.OtsLocatable