[geos-commits] [SCM] GEOS branch main updated. 29a4c7ea895da8bb721f1d9342b0a8ef3ad89b2f
git at osgeo.org
git at osgeo.org
Tue Oct 8 07:20:26 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 has been updated
via 29a4c7ea895da8bb721f1d9342b0a8ef3ad89b2f (commit)
from 351221a88ab514f70cfda6f4e084b16b78f2421b (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 29a4c7ea895da8bb721f1d9342b0a8ef3ad89b2f
Author: Even Rouault <even.rouault at spatialys.com>
Date: Tue Oct 8 16:20:06 2024 +0200
Fixes to make sure each header can be compiled in a standalone way (#1178)
Verified with
``find include -name "*.h" -exec g++ -c {} -Iinclude -DUSE_UNSTABLE_GEOS_CPP_API \;``
diff --git a/include/geos/edgegraph/MarkHalfEdge.h b/include/geos/edgegraph/MarkHalfEdge.h
index 5a73d6d18..11eaeb910 100644
--- a/include/geos/edgegraph/MarkHalfEdge.h
+++ b/include/geos/edgegraph/MarkHalfEdge.h
@@ -16,6 +16,7 @@
#pragma once
#include <geos/geom/Coordinate.h>
+#include <geos/edgegraph/HalfEdge.h>
#include <geos/export.h>
#include <string>
diff --git a/include/geos/geom/prep/PreparedLineStringDistance.h b/include/geos/geom/prep/PreparedLineStringDistance.h
index 89c886d3e..04ef27958 100644
--- a/include/geos/geom/prep/PreparedLineStringDistance.h
+++ b/include/geos/geom/prep/PreparedLineStringDistance.h
@@ -21,6 +21,9 @@
namespace geos {
namespace geom { // geos::geom
+
+class Geometry;
+
namespace prep { // geos::geom::prep
class PreparedLineString;
diff --git a/include/geos/geom/prep/PreparedLineStringNearestPoints.h b/include/geos/geom/prep/PreparedLineStringNearestPoints.h
index d6366ef6a..82939fa5f 100644
--- a/include/geos/geom/prep/PreparedLineStringNearestPoints.h
+++ b/include/geos/geom/prep/PreparedLineStringNearestPoints.h
@@ -19,8 +19,15 @@
#pragma once
+#include <memory>
+
+#include <geos/geom/prep/PreparedLineString.h>
+
namespace geos {
namespace geom { // geos::geom
+
+class CoordinateSequence;
+
namespace prep { // geos::geom::prep
class PreparedLineStringNearestPoints {
diff --git a/include/geos/linearref/LocationIndexedLine.h b/include/geos/linearref/LocationIndexedLine.h
index 98af39a3c..f6035903e 100644
--- a/include/geos/linearref/LocationIndexedLine.h
+++ b/include/geos/linearref/LocationIndexedLine.h
@@ -21,6 +21,7 @@
#include <geos/export.h>
#include <geos/geom/Coordinate.h>
#include <geos/geom/Geometry.h>
+#include <geos/linearref/ExtractLineByLocation.h>
#include <geos/linearref/LinearLocation.h>
#include <geos/linearref/LocationIndexOfPoint.h>
#include <geos/linearref/LocationIndexOfLine.h>
diff --git a/include/geos/operation/relateng/EdgeSetIntersector.h b/include/geos/operation/relateng/EdgeSetIntersector.h
index 35028b5bd..0b59eabc9 100644
--- a/include/geos/operation/relateng/EdgeSetIntersector.h
+++ b/include/geos/operation/relateng/EdgeSetIntersector.h
@@ -43,6 +43,7 @@ using geos::geom::Envelope;
using geos::geom::Geometry;
using geos::index::strtree::TemplateSTRtree;
using geos::index::chain::MonotoneChain;
+using geos::noding::SegmentString;
using geos::operation::relateng::EdgeSegmentIntersector;
diff --git a/include/geos/operation/union/CascadedPolygonUnion.h b/include/geos/operation/union/CascadedPolygonUnion.h
index a89e6fa1c..2b1e29267 100644
--- a/include/geos/operation/union/CascadedPolygonUnion.h
+++ b/include/geos/operation/union/CascadedPolygonUnion.h
@@ -20,6 +20,8 @@
#pragma once
+#include <vector>
+
#include <geos/export.h>
#include <geos/operation/union/UnionStrategy.h>
diff --git a/include/geos/operation/union/PointGeometryUnion.h b/include/geos/operation/union/PointGeometryUnion.h
index 665c53043..35d615ebb 100644
--- a/include/geos/operation/union/PointGeometryUnion.h
+++ b/include/geos/operation/union/PointGeometryUnion.h
@@ -22,6 +22,7 @@
#include <vector>
#include <algorithm>
+#include <memory>
// Forward declarations
namespace geos {
diff --git a/include/geos/triangulate/polygon/PolygonHoleJoiner.h b/include/geos/triangulate/polygon/PolygonHoleJoiner.h
index 665b16126..b65c0c0a0 100644
--- a/include/geos/triangulate/polygon/PolygonHoleJoiner.h
+++ b/include/geos/triangulate/polygon/PolygonHoleJoiner.h
@@ -31,6 +31,7 @@ namespace geom {
class Envelope;
class Geometry;
class LinearRing;
+class Polygon;
}
namespace noding {
}
diff --git a/include/geos/triangulate/polygon/PolygonNoder.h b/include/geos/triangulate/polygon/PolygonNoder.h
index 44d93877e..94c355641 100644
--- a/include/geos/triangulate/polygon/PolygonNoder.h
+++ b/include/geos/triangulate/polygon/PolygonNoder.h
@@ -18,7 +18,11 @@
// #include <geos/geom/Coordinate.h>
//#include <geos/geom/CoordinateSequence.h>
+#include <geos/export.h>
+
#include <map>
+#include <memory>
+#include <vector>
// Forward declarations
namespace geos {
@@ -29,6 +33,9 @@ class CoordinateSequence;
namespace noding {
class NodedSegmentString;
}
+namespace algorithm {
+class LineIntersector;
+}
}
using geos::geom::Coordinate;
diff --git a/include/geos/triangulate/tri/TriEdge.h b/include/geos/triangulate/tri/TriEdge.h
index 805885602..208006449 100644
--- a/include/geos/triangulate/tri/TriEdge.h
+++ b/include/geos/triangulate/tri/TriEdge.h
@@ -15,16 +15,9 @@
#pragma once
#include <geos/export.h>
+#include <geos/geom/Coordinate.h>
#include <iostream>
-
-// Forward declarations
-namespace geos {
-namespace geom {
-class Coordinate;
-}
-}
-
using geos::geom::Coordinate;
namespace geos { // geos.
-----------------------------------------------------------------------
Summary of changes:
include/geos/edgegraph/MarkHalfEdge.h | 1 +
include/geos/geom/prep/PreparedLineStringDistance.h | 3 +++
include/geos/geom/prep/PreparedLineStringNearestPoints.h | 7 +++++++
include/geos/linearref/LocationIndexedLine.h | 1 +
include/geos/operation/relateng/EdgeSetIntersector.h | 1 +
include/geos/operation/union/CascadedPolygonUnion.h | 2 ++
include/geos/operation/union/PointGeometryUnion.h | 1 +
include/geos/triangulate/polygon/PolygonHoleJoiner.h | 1 +
include/geos/triangulate/polygon/PolygonNoder.h | 7 +++++++
include/geos/triangulate/tri/TriEdge.h | 9 +--------
10 files changed, 25 insertions(+), 8 deletions(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list