[geos-commits] [SCM] GEOS branch main updated. 76d6074e6565d863e157076664cc89e6944f0a0c
git at osgeo.org
git at osgeo.org
Tue Jul 8 14:30:25 PDT 2025
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 has been updated
via 76d6074e6565d863e157076664cc89e6944f0a0c (commit)
from a7b98f56014ede6ecbeae43d2abef78b2a527871 (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 76d6074e6565d863e157076664cc89e6944f0a0c
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Tue Jul 8 14:30:02 2025 -0700
Remove unused implementation of GeometryPrecisionReducer
diff --git a/include/geos/precision/PrecisionReducerCoordinateOperation.h b/include/geos/precision/PrecisionReducerCoordinateOperation.h
deleted file mode 100644
index b1a522738..000000000
--- a/include/geos/precision/PrecisionReducerCoordinateOperation.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/**********************************************************************
- *
- * GEOS - Geometry Engine Open Source
- * http://geos.osgeo.org
- *
- * Copyright (C) 2012 Sandro Santilli <strk at kbt.io>
- *
- * This is free software; you can redistribute and/or modify it under
- * the terms of the GNU Lesser General Public Licence as published
- * by the Free Software Foundation.
- * See the COPYING file for more information.
- *
- ***********************************************************************
- *
- * Last port: precision/PrecisionreducerCoordinateOperation.java r591 (JTS-1.12)
- *
- **********************************************************************/
-
-#pragma once
-
-#include <geos/geom/util/CoordinateOperation.h>
-
-// Forward declarations
-namespace geos {
-namespace geom {
-class PrecisionModel;
-class CoordinateSequence;
-class Geometry;
-}
-}
-
-namespace geos {
-namespace precision { // geos.precision
-
-class PrecisionReducerCoordinateOperation :
- public geom::util::CoordinateOperation {
- using CoordinateOperation::edit;
-private:
-
- const geom::PrecisionModel& targetPM;
-
- bool removeCollapsed;
-
- PrecisionReducerCoordinateOperation(PrecisionReducerCoordinateOperation const&); /*= delete*/
- PrecisionReducerCoordinateOperation& operator=(PrecisionReducerCoordinateOperation const&); /*= delete*/
-
-public:
-
- PrecisionReducerCoordinateOperation(const geom::PrecisionModel& pm,
- bool doRemoveCollapsed)
- :
- targetPM(pm),
- removeCollapsed(doRemoveCollapsed)
- {}
-
- /// Ownership of returned CoordinateSequence to caller
- ///
- /// virtual function
- std::unique_ptr<geom::CoordinateSequence> edit(const geom::CoordinateSequence* coordinates,
- const geom::Geometry* geom) override;
-};
-
-} // namespace geos.precision
-} // namespace geos
-
diff --git a/src/precision/GeometryPrecisionReducer.cpp b/src/precision/GeometryPrecisionReducer.cpp
index a4d6a3d9c..3a5480a81 100644
--- a/src/precision/GeometryPrecisionReducer.cpp
+++ b/src/precision/GeometryPrecisionReducer.cpp
@@ -18,7 +18,6 @@
**********************************************************************/
#include <geos/precision/GeometryPrecisionReducer.h>
-#include <geos/precision/PrecisionReducerCoordinateOperation.h>
#include <geos/geom/util/GeometryEditor.h>
#include <geos/geom/util/NoOpGeometryOperation.h>
#include <geos/geom/Coordinate.h>
-----------------------------------------------------------------------
Summary of changes:
.../PrecisionReducerCoordinateOperation.h | 65 ----------------------
src/precision/GeometryPrecisionReducer.cpp | 1 -
2 files changed, 66 deletions(-)
delete mode 100644 include/geos/precision/PrecisionReducerCoordinateOperation.h
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list