@@ -4927,15 +4927,18 @@ extern char GEOS_DLL GEOSEqualsIdentical(
4927
4927
const GEOSGeometry* g2);
4928
4928
4929
4929
/**
4930
- * Calculate the DE9IM pattern for this geometry pair
4931
- * and compare against the provided pattern to check for
4932
- * consistency. If the result and pattern are consistent
4933
- * return true. The pattern may include glob "*" characters
4934
- * for portions that are allowed to match any value.
4930
+ * Calculate the DE9IM string for a geometry pair
4931
+ * and compare against a DE9IM pattern to check for
4932
+ * consistency.
4933
+ * If the result matches the pattern return true.
4934
+ * The pattern is a 9-character string
4935
+ * containing symbols in the set "012TF*".
4936
+ * "012F" match the corresponding dimension symbol;
4937
+ * "T" matches any non-empty dimension.; "*" matches any dimension.
4935
4938
* \see geos::geom::Geometry::relate
4936
4939
* \param g1 First geometry in pair
4937
4940
* \param g2 Second geometry in pair
4938
- * \param imPattern DE9IM pattern to check
4941
+ * \param imPattern DE9IM pattern to match
4939
4942
* \return 1 on true, 0 on false, 2 on exception
4940
4943
* \since 2.2
4941
4944
*/
@@ -4945,7 +4948,8 @@ extern char GEOS_DLL GEOSRelatePattern(
4945
4948
const char *imPattern);
4946
4949
4947
4950
/**
4948
- * Calculate and return the DE9IM pattern for this geometry pair.
4951
+ * Calculate and return the DE9IM string for this geometry pair.
4952
+ * The result is a 9-character string containing dimension symbols in the set "012F".
4949
4953
* \see geos::geom::Geometry::relate
4950
4954
* \param g1 First geometry in pair
4951
4955
* \param g2 Second geometry in pair
@@ -4958,10 +4962,10 @@ extern char GEOS_DLL *GEOSRelate(
4958
4962
const GEOSGeometry* g2);
4959
4963
4960
4964
/**
4961
- * Compare two DE9IM patterns and return true if they
4965
+ * Compare a DE9IM string to a pattern and return true if they
4962
4966
* are consistent.
4963
- * \param intMatrix Complete DE9IM string (does not have "* ")
4964
- * \param imPattern Pattern to match to (may contain "*")
4967
+ * \param intMatrix DE9IM string (contains symbols "012F ")
4968
+ * \param imPattern Pattern to match to (may also contain symbols "T" and "*")
4965
4969
* \return 1 on true, 0 on false, 2 on exception
4966
4970
*
4967
4971
* \since 3.3
@@ -4971,8 +4975,8 @@ extern char GEOS_DLL GEOSRelatePatternMatch(
4971
4975
const char *imPattern);
4972
4976
4973
4977
/**
4974
- * Calculate and return the DE9IM pattern for this geometry pair.
4975
- * Apply the supplied \ref GEOSRelateBoundaryNodeRules.
4978
+ * Calculate and return the DE9IM string for this geometry pair,
4979
+ * using the supplied \ref GEOSRelateBoundaryNodeRules.
4976
4980
* \see geos::geom::Geometry::relate
4977
4981
* \see geos::algorithm::BoundaryNodeRule
4978
4982
* \param g1 First geometry in pair
@@ -5202,14 +5206,12 @@ extern char GEOS_DLL GEOSPreparedWithin(
5202
5206
const GEOSGeometry* g2);
5203
5207
5204
5208
/**
5205
- * Use a \ref GEOSPreparedGeometry do a high performance
5209
+ * Use a \ref GEOSPreparedGeometry do a high- performance
5206
5210
* calculation of the DE9IM relationship between the
5207
- * prepared and provided geometry, and compare that
5208
- * relationship to the provided DE9IM, returning
5209
- * true if the patterns are consistent and false otherwise.
5211
+ * prepared and provided geometry.
5210
5212
* \param pg1 The prepared geometry
5211
5213
* \param g2 The geometry to test
5212
- * \returns The DE9IM relate pattern string
5214
+ * \returns The DE9IM string
5213
5215
* \see GEOSPrepare
5214
5216
* \see GEOSRelate
5215
5217
* \see GEOSPreparedRelatePattern
@@ -5221,9 +5223,11 @@ extern char GEOS_DLL * GEOSPreparedRelate(
5221
5223
const GEOSGeometry* g2);
5222
5224
5223
5225
/**
5224
- * Use a \ref GEOSPreparedGeometry do a high performance
5226
+ * Use a \ref GEOSPreparedGeometry do a high- performance
5225
5227
* calculation of the DE9IM relationship between the
5226
- * prepared and provided geometry.
5228
+ * prepared and provided geometry, and compare the
5229
+ * relationship to the provided DE9IM pattern.
5230
+ * Returns true if the patterns are consistent and false otherwise.
5227
5231
* \param pg1 The prepared geometry
5228
5232
* \param g2 The geometry to test
5229
5233
* \param imPattern The DE9IM pattern to test
0 commit comments