示例#1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="rectangle"></param>
 /// <param name="b"></param>
 /// <returns></returns>
 public static bool Intersects(IPolygon 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(IPolygon rectangle, IGeometry b)
        {
            RectangleIntersects rp = new RectangleIntersects(rectangle);

            return(rp.Intersects(b));
        }