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 * Copyright (c) 2019-2025 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
7 * BSD-style license. See <a href="https://djutils.org/docs/current/djutils/licenses.html">DJUTILS License</a>.
8 * </p>
9 * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a>
10 */
11 public interface Envelope
12 {
13 /**
14 * Determine the bounding box. The result must be constant; it may not vary from one call to the next. Objects implementing
15 * this interface should probably cache the result of this method.
16 * @return the bounding box
17 */
18 Rectangle getBoundingRectangle();
19
20 }