Ejemplo n.º 1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="rectangle"></param>
 /// <param name="b"></param>
 /// <returns></returns>
 public static bool Contains(IPolygon rectangle, IGeometry b)
 {
     RectangleContains rc = new RectangleContains(rectangle);
     return rc.Contains(b);
 }
Ejemplo n.º 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="rectangle"></param>
        /// <param name="b"></param>
        /// <returns></returns>
        public static bool Contains(IPolygon rectangle, IGeometry b)
        {
            RectangleContains rc = new RectangleContains(rectangle);

            return(rc.Contains(b));
        }