Exemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="rectangle"></param>
 /// <param name="b"></param>
 /// <returns></returns>
 public static bool Intersects(Polygon rectangle, IGeometry b)
 {
     RectangleIntersects rp = new RectangleIntersects(rectangle);
     return rp.Intersects(b);
 }
Exemplo n.º 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="rectangle"></param>
        /// <param name="b"></param>
        /// <returns></returns>
        public static bool Intersects(Polygon rectangle, IGeometry b)
        {
            RectangleIntersects rp = new RectangleIntersects(rectangle);

            return(rp.Intersects(b));
        }