public boolean intersect(float left, float top, float right, float bottom) {
        if (this.left < right && left < this.right && this.bottom < top && bottom < this.top) {
            if (this.left < left) {
                this.left = left;
            }
            if (this.top > top) {
                this.top = top;
            }
            if (this.right > right) {
                this.right = right;
            }
            if (this.bottom < bottom) {
                this.bottom = bottom;
            }
            return true;
        }
        return false;
    }
If the viewport specified by left,top,right,bottom intersects this viewport, return true and set this viewport to
that intersection, otherwise return false and do not change this viewport. No check is performed to see if either
viewport is empty. Note: To just test for intersection, use intersects()

@param left   The left side of the viewport being intersected with this viewport
@param top    The top of the viewport being intersected with this viewport
@param right  The right side of the viewport being intersected with this viewport.
@param bottom The bottom of the viewport being intersected with this viewport.
@return true if the specified viewport and this viewport intersect (and this viewport is then set to that
intersection) else return false and do not change this viewport.
hellocharts-library/src/lecho/lib/hellocharts/model/Viewport.java