diff --git a/modules/core/src/main/java/org/locationtech/jts/operation/relateng/RelatePredicate.java b/modules/core/src/main/java/org/locationtech/jts/operation/relateng/RelatePredicate.java index 99c6ed1692..a02ec9de0f 100644 --- a/modules/core/src/main/java/org/locationtech/jts/operation/relateng/RelatePredicate.java +++ b/modules/core/src/main/java/org/locationtech/jts/operation/relateng/RelatePredicate.java @@ -248,7 +248,7 @@ public boolean valueIM() { * but is more inclusive (i.e. returns true for more cases). * In particular, unlike contains it does not distinguish between * points in the boundary and in the interior of geometries. - * For most situations, covers should be used in preference to contains. + * For most cases, covers should be used in preference to contains. * As an added benefit, covers is more amenable to optimization, * and hence should be more performant. * @@ -346,16 +346,16 @@ public boolean valueIM() { *
  • The DE-9IM Intersection Matrix for the two geometries matches * one of the following patterns: * * - * For the A/A and P/P situations this predicate returns false. + * For the A/A and P/P cases this predicate returns false. *

    - * The SFS defined this predicate only for P/L, P/A, L/L, and L/A situations. + * The SFS defined this predicate only for P/L, P/A, L/L, and L/A cases. * To make the relation symmetric - * JTS extends the definition to apply to L/P, A/P and A/L situations as well. + * JTS extends the definition to apply to L/P, A/P and A/L cases as well. * * @return the predicate instance */ @@ -451,20 +451,17 @@ public boolean valueIM() { *

    * The overlaps predicate has the following equivalent definitions: *

    - * For the A/A and P/P situations this predicate returns false. - *

    - * The SFS defined this predicate only for P/L, P/A, L/L, and L/A situations. - * To make the relation symmetric - * JTS extends the definition to apply to L/P, A/P and A/L situations as well. + * If the geometries are of different dimension this predicate returns false. + * This predicate is symmetric. * * @return the predicate instance */