relateStatic static method

IntersectionMatrix relateStatic(
  1. Geometry a,
  2. Geometry b
)

Computes the {@link IntersectionMatrix} for the spatial relationship between two {@link Geometry}s, using the default (OGC SFS) Boundary Node Rule

@param a a Geometry to test @param b a Geometry to test @return the IntersectionMatrix for the spatial relationship between the geometries

Implementation

static IntersectionMatrix relateStatic(Geometry a, Geometry b) {
  RelateOp relOp = new RelateOp(a, b);
  IntersectionMatrix im = relOp.getIntersectionMatrix();
  return im;
}