public boolean intersects(Rectangle rect)
    {
        return !(rect.getLeft() > getRight() ||
            rect.getRight() < getLeft() ||
            rect.getTop() < getBottom() ||
            rect.getBottom() > getTop());
    }