View Javadoc
1   package org.djutils.quadtree;
2   
3   /**
4    * Interface that must be implemented by objects that need to be stored in a quad tree.
5    * <p>
6    * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a>
7    */
8   public interface Envelope
9   {
10      /**
11       * Determine the bounding box. The result must be constant; it may not vary from one call to the next. Objects implementing
12       * this interface should probably cache the result of this method.
13       * @return Rectangle; the bounding box
14       */
15      Rectangle getBoundingRectangle();
16  
17  }