[geos-commits] [SCM] GEOS branch main updated. 57a55f348265dc722327865d896376d9fcca10dd

git at osgeo.org git at osgeo.org
Tue Jul 8 14:59:12 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  57a55f348265dc722327865d896376d9fcca10dd (commit)
      from  20c5648b2774de312f0a5d03fb6c9354a42dd0af (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 57a55f348265dc722327865d896376d9fcca10dd
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Tue Jul 8 14:58:49 2025 -0700

    Remove unused SimplePointInRing class

diff --git a/include/geos/algorithm/SimplePointInRing.h b/include/geos/algorithm/SimplePointInRing.h
deleted file mode 100644
index f1c296e77..000000000
--- a/include/geos/algorithm/SimplePointInRing.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/**********************************************************************
- *
- * GEOS - Geometry Engine Open Source
- * http://geos.osgeo.org
- *
- * Copyright (C) 2005-2006 Refractions Research Inc.
- * Copyright (C) 2001-2002 Vivid Solutions Inc.
- *
- * 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.
- *
- **********************************************************************/
-
-#pragma once
-
-#include <geos/export.h>
-#include <geos/algorithm/PointInRing.h> // for inheritance
-
-// Forward declarations
-namespace geos {
-namespace geom {
-class Coordinate;
-class LinearRing;
-class CoordinateSequence;
-}
-}
-
-namespace geos {
-namespace algorithm { // geos::algorithm
-
-class GEOS_DLL SimplePointInRing: public PointInRing {
-public:
-    SimplePointInRing(geom::LinearRing* ring);
-    ~SimplePointInRing() override = default;
-    bool isInside(const geom::Coordinate& pt) override;
-private:
-    const geom::CoordinateSequence* pts;
-};
-
-} // namespace geos::algorithm
-} // namespace geos
-
diff --git a/src/algorithm/SimplePointInRing.cpp b/src/algorithm/SimplePointInRing.cpp
deleted file mode 100644
index 7d0693bce..000000000
--- a/src/algorithm/SimplePointInRing.cpp
+++ /dev/null
@@ -1,42 +0,0 @@
-/**********************************************************************
- *
- * GEOS - Geometry Engine Open Source
- * http://geos.osgeo.org
- *
- * Copyright (C) 2005-2006 Refractions Research Inc.
- * Copyright (C) 2001-2002 Vivid Solutions Inc.
- *
- * 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.
- *
- **********************************************************************/
-
-#include <geos/algorithm/SimplePointInRing.h>
-#include <geos/algorithm/PointLocation.h>
-#include <geos/geom/LinearRing.h>
-
-// Forward declarations
-namespace geos {
-namespace geom {
-class Coordinate;
-}
-}
-
-namespace geos {
-namespace algorithm { // geos.algorithm
-
-SimplePointInRing::SimplePointInRing(geom::LinearRing* ring)
-{
-    pts = ring->getCoordinatesRO();
-}
-
-bool
-SimplePointInRing::isInside(const geom::Coordinate& pt)
-{
-    return PointLocation::isInRing(pt, pts);
-}
-
-} // namespace geos.algorithm
-} // namespace geos

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

Summary of changes:
 include/geos/algorithm/SimplePointInRing.h | 44 ------------------------------
 src/algorithm/SimplePointInRing.cpp        | 42 ----------------------------
 2 files changed, 86 deletions(-)
 delete mode 100644 include/geos/algorithm/SimplePointInRing.h
 delete mode 100644 src/algorithm/SimplePointInRing.cpp


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list