Skip to content

Commit

Permalink
Improve geosop help doc
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-jts committed Nov 22, 2024
1 parent ef84de6 commit 7852bc6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions util/geosop/GeometryOp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -734,28 +734,28 @@ std::vector<GeometryOpCreator> opRegistry {


{ "containsPrep", [](std::string name) { return GeometryOp::create(name,
catRel, "test if geometry A contains geometry B, using PreparedGeometry",
catRel, "test if geometry A contains geometry B, with A prepared",
Result::typeBool,
[](const std::unique_ptr<Geometry>& geom, const std::unique_ptr<Geometry>& geomB) {
return new Result( prepGeomCache.get(geom.get())->contains( geomB.get() ) );
});
}},
{ "containsProperlyPrep", [](std::string name) { return GeometryOp::create(name,
catRel, "test if geometry A properly contains geometry B, using PreparedGeometry",
catRel, "test if geometry A properly contains geometry B, with A prepared",
Result::typeBool,
[](const std::unique_ptr<Geometry>& geom, const std::unique_ptr<Geometry>& geomB) {
return new Result( prepGeomCache.get(geom.get())->containsProperly( geomB.get() ) );
});
}},
{ "coversPrep", [](std::string name) { return GeometryOp::create(name,
catRel, "test if geometry A covers geometry B, using PreparedGeometry",
catRel, "test if geometry A covers geometry B, with A prepared",
Result::typeBool,
[](const std::unique_ptr<Geometry>& geom, const std::unique_ptr<Geometry>& geomB) {
return new Result( prepGeomCache.get(geom.get())->covers( geomB.get() ) );
});
}},
{ "intersectsPrep", [](std::string name) { return GeometryOp::create(name,
catRel, "test if geometry A intersects geometry B, using PreparedGeometry",
catRel, "test if geometry A intersects geometry B, with A prepared",
Result::typeBool,
[](const std::unique_ptr<Geometry>& geom, const std::unique_ptr<Geometry>& geomB) {
return new Result( prepGeomCache.get(geom.get())->intersects( geomB.get() ) );
Expand Down

0 comments on commit 7852bc6

Please sign in to comment.