TileCook.TileFilter.IsEnvelopeValid C# (CSharp) Method

IsEnvelopeValid() public method

public IsEnvelopeValid ( Envelope other ) : bool
other Envelope
return bool
        public bool IsEnvelopeValid(Envelope other)
        {
            if (this._extents == null)
                return true;

            foreach (Envelope extent in this._extents)
            {
                if (extent.intersects(other))
                    return true;
            }

            return false;
        }