[geos-commits] [SCM] GEOS branch main-relate-ng updated. f6b401a3e133a3b2c76b37c2d5e48761e1d457e0

git at osgeo.org git at osgeo.org
Fri Aug 9 10:04:40 PDT 2024


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".

The branch, main-relate-ng has been updated
       via  f6b401a3e133a3b2c76b37c2d5e48761e1d457e0 (commit)
      from  1f4d9658bd2ae002511a5e7f1ff53618b71ceeb9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f6b401a3e133a3b2c76b37c2d5e48761e1d457e0
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Fri Aug 9 10:04:17 2024 -0700

    Comment out unused function

diff --git a/src/operation/relateng/TopologyComputer.cpp b/src/operation/relateng/TopologyComputer.cpp
index af6ce0550..1ac9c56b3 100644
--- a/src/operation/relateng/TopologyComputer.cpp
+++ b/src/operation/relateng/TopologyComputer.cpp
@@ -154,20 +154,22 @@ TopologyComputer::isExteriorCheckRequired(bool isA) const
     return predicate.requireExteriorCheck(isA);
 }
 
-char toSymbol(Location loc) {
-        switch (loc) {
-        case Location::NONE: return '-';
-        case Location::INTERIOR: return 'I';
-        case Location::BOUNDARY: return 'B';
-        case Location::EXTERIOR: return 'E';
-        }
-}
+// static char
+// toSymbol(Location loc) {
+//     switch (loc) {
+//         case Location::NONE: return '-';
+//         case Location::INTERIOR: return 'I';
+//         case Location::BOUNDARY: return 'B';
+//         case Location::EXTERIOR: return 'E';
+//     }
+//     return ' ';
+// }
 
 /* private */
 void
 TopologyComputer::updateDim(Location locA, Location locB, int dimension)
 {
-//std::cout << toSymbol(locA) << toSymbol(locB) << " <- " << dimension << std::endl;
+    //std::cout << toSymbol(locA) << toSymbol(locB) << " <- " << dimension << std::endl;
     predicate.updateDimension(locA, locB, dimension);
 }
 

-----------------------------------------------------------------------

Summary of changes:
 src/operation/relateng/TopologyComputer.cpp | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list