Esempio n. 1
0
        /// <summary>
        /// Static method used to calculate the intersection matrix.  This is the same as instantiating the RelateOp object and calling the
        /// GetIntersectionMatrix method.
        /// </summary>
        /// <param name="a">Geometry a to be used in the relation computation.</param>
        /// <param name="b">Geometry b to be used in the relation computation.</param>
        /// <returns>Returns the Intersection Matrix.</returns>
        public static IntersectionMatrix Relate(Geometry a, Geometry b)
        {
            RelateOp           relOp = new RelateOp(a, b);
            IntersectionMatrix im    = relOp.GetIntersectionMatrix();

            return(im);
        }
Esempio n. 2
0
		/// <summary>
		/// Static method used to calculate the intersection matrix.  This is the same as instantiating the RelateOp object and calling the
		/// GetIntersectionMatrix method.
		/// </summary>
		/// <param name="a">Geometry a to be used in the relation computation.</param>
		/// <param name="b">Geometry b to be used in the relation computation.</param>
		/// <returns>Returns the Intersection Matrix.</returns>
		public static IntersectionMatrix Relate( Geometry a, Geometry b )
		{
			RelateOp relOp = new RelateOp( a, b );
			IntersectionMatrix im = relOp.GetIntersectionMatrix();
			return im;
		}