Skip to content

Commit f94b913

Browse files
committed
Add geosop bufferQuadSegs op
1 parent 9687512 commit f94b913

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

util/geosop/GeometryOp.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,13 @@ std::vector<GeometryOpCreator> opRegistry {
296296
return new Result( geom->buffer( d ) );
297297
});
298298
}},
299+
{"bufferQuadSegs", [](std::string name) { return GeometryOp::create(name,
300+
catConst,
301+
"compute the buffer of geometry by a distance with quadrant segments",
302+
[](const std::unique_ptr<Geometry>& geom, double d, int quadrantSegments) {
303+
return new Result( geom->buffer( d, quadrantSegments ) );
304+
});
305+
}},
299306
{"offsetCurve", [](std::string name) { return GeometryOp::create(name,
300307
catConst,
301308
"compute the offset curve of geometry by a distance",

0 commit comments

Comments
 (0)