TileCook.Envelope.intersects C# (CSharp) Method

intersects() public method

public intersects ( Envelope other ) : bool
other Envelope
return bool
        public bool intersects(Envelope other)
        {
            if (this._minx <= other.Maxx &&
                this._maxx >= other.Minx &&
                this._miny <= other.Maxy &&
                this._maxy >= other.Miny)
            {
                return true;
            }
            return false;
        }