[geos-commits] [SCM] GEOS branch main updated. f94b91384411bf21bd44b8d0947e5a16ba1a3e13
git at osgeo.org
git at osgeo.org
Tue Nov 19 20:39:20 PST 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 f94b91384411bf21bd44b8d0947e5a16ba1a3e13 (commit)
from 96875120762bf622134adc46cec79d68edf19bfa (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 f94b91384411bf21bd44b8d0947e5a16ba1a3e13
Author: Martin Davis <mtnclimb at gmail.com>
Date: Tue Nov 19 20:38:56 2024 -0800
Add geosop bufferQuadSegs op
diff --git a/util/geosop/GeometryOp.cpp b/util/geosop/GeometryOp.cpp
index 22909ba9b..025e905c4 100644
--- a/util/geosop/GeometryOp.cpp
+++ b/util/geosop/GeometryOp.cpp
@@ -296,6 +296,13 @@ std::vector<GeometryOpCreator> opRegistry {
return new Result( geom->buffer( d ) );
});
}},
+{"bufferQuadSegs", [](std::string name) { return GeometryOp::create(name,
+ catConst,
+ "compute the buffer of geometry by a distance with quadrant segments",
+ [](const std::unique_ptr<Geometry>& geom, double d, int quadrantSegments) {
+ return new Result( geom->buffer( d, quadrantSegments ) );
+ });
+ }},
{"offsetCurve", [](std::string name) { return GeometryOp::create(name,
catConst,
"compute the offset curve of geometry by a distance",
-----------------------------------------------------------------------
Summary of changes:
util/geosop/GeometryOp.cpp | 7 +++++++
1 file changed, 7 insertions(+)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list