Package org.djutils.quadtree
Interface Envelope
-
public interface Envelope
Interface that must be implemented by objects that need to be stored in a quad tree.- Author:
- Peter Knoppers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Rectangle
getBoundingRectangle()
Determine the bounding box.
-
-
-
Method Detail
-
getBoundingRectangle
Rectangle getBoundingRectangle()
Determine the bounding box. The result must be constant; it may not vary from one call to the next. Objects implementing this interface should probably cache the result of this method.- Returns:
- Rectangle; the bounding box
-
-