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.
Copyright (c) 2019-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUTILS License.
- Author:
- Peter Knoppers
-
Method Summary
-
Method Details
-
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
-