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 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