Beispiel #1
0
        /// <summary>
        /// Computes the <see cref="IntersectionMatrix"/> for the spatial relationship
        ///  between two <see cref="IGeometry"/>s, using the specified Boundary Node Rule
        /// </summary>
        /// <param name="a">A geometry to test</param>
        /// <param name="b">A geometry to test</param>
        /// <param name="boundaryNodeRule">The Boundary Node Rule to use</param>
        /// <returns>The <c>IntersectionMatrix</c> for the spatial relationship between the geometries</returns>
        public static IntersectionMatrix Relate(IGeometry a, IGeometry b, IBoundaryNodeRule boundaryNodeRule)
        {
            var relOp = new RelateOp(a, b, boundaryNodeRule);
            var im    = relOp.IntersectionMatrix;

            return(im);
        }
Beispiel #2
0
        /// <summary>
        /// Computes the <see cref="IntersectionMatrix"/> for the spatial relationship
        ///  between two <see cref="IGeometry"/>s, using the default (OGC SFS) Boundary Node Rule
        /// </summary>
        /// <param name="a">A geometry to test</param>
        /// <param name="b">A geometry to test</param>
        /// <returns>The <c>IntersectionMatrix</c> for the spatial relationship between the geometries</returns>
        public static IntersectionMatrix Relate(IGeometry a, IGeometry b)
        {
            var relOp = new RelateOp(a, b);
            var im    = relOp.IntersectionMatrix;

            return(im);
        }
 /// <summary>
 /// Computes the <see cref="IntersectionMatrix"/> for the spatial relationship
 ///  between two <see cref="IGeometry"/>s, using the default (OGC SFS) Boundary Node Rule
 /// </summary>
 /// <param name="a">A geometry to test</param>
 /// <param name="b">A geometry to test</param>
 /// <returns>The IntersectonMatrix for the spatial relationship between the geometries</returns>
 public static IntersectionMatrix Relate(IGeometry a, IGeometry b)
 {
     RelateOp relOp = new RelateOp(a, b);
     IntersectionMatrix im = relOp.IntersectionMatrix;
     return im;
 }
 /// <summary>
 /// Computes the <see cref="IntersectionMatrix"/> for the spatial relationship
 ///  between two <see cref="IGeometry"/>s, using the specified Boundary Node Rule
 /// </summary>
 /// <param name="a">A geometry to test</param>
 /// <param name="b">A geometry to test</param>
 /// <param name="boundaryNodeRule">The Boundary Node Rule to use</param>
 /// <returns>The IntersectonMatrix for the spatial relationship between the geometries</returns>
 public static IntersectionMatrix Relate(IGeometry a, IGeometry b, IBoundaryNodeRule boundaryNodeRule)
 {
     RelateOp relOp = new RelateOp(a, b, boundaryNodeRule);
     IntersectionMatrix im = relOp.IntersectionMatrix;
     return im;
 }