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() {
*
[T*T******]
(for P/L, P/A, and L/A situations)
- * [T*****T**]
(for L/P, A/P, and A/L situations)
- * [0********]
(for L/L situations)
+ * [T*T******]
(for P/L, P/A, and L/A cases)
+ * [T*****T**]
(for L/P, A/P, and A/L cases)
+ * [0********]
(for L/L cases)
* 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:
*
[T*T******]
(for P/L, P/A, and L/A situations)
- * [T*****T**]
(for L/P, A/P, and A/L situations)
- * [0********]
(for L/L situations)
- * [T*T***T**]
(for P/P and A/A cases)
+ * or [1*T***T**]
(for L/L cases)
* 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
*/