예제 #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);
 }
예제 #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));
        }