relateStaticWithRule static method
IntersectionMatrix
relateStaticWithRule(
- Geometry a,
- Geometry b,
- BoundaryNodeRule boundaryNodeRule
Computes the {@link IntersectionMatrix} for the spatial relationship between two {@link Geometry}s using a specified Boundary Node Rule.
@param a a Geometry to test @param b a Geometry to test @param boundaryNodeRule the Boundary Node Rule to use @return the IntersectionMatrix for the spatial relationship between the input geometries
Implementation
static IntersectionMatrix relateStaticWithRule(
Geometry a, Geometry b, BoundaryNodeRule boundaryNodeRule) {
RelateOp relOp = new RelateOp.withRule(a, b, boundaryNodeRule);
IntersectionMatrix im = relOp.getIntersectionMatrix();
return im;
}