17#include <geos/export.h>
19#include <geos/geom/Geometry.h>
20#include <geos/geom/Point.h>
29class CoordinateSequence;
55 using CoordinateXY = geos::geom::CoordinateXY;
70 std::vector<std::unique_ptr<Point>> resultList;
72 using PointMap = std::map<CoordinateXY, std::unique_ptr<Point>>;
76 computeIntersection(PointMap& map0,
78 std::vector<std::unique_ptr<Point>>& resultList);
81 computeDifference(PointMap& map0,
83 std::vector<std::unique_ptr<Point>>& resultList);
86 computeUnion(PointMap& map0,
88 std::vector<std::unique_ptr<Point>>& resultList);
90 PointMap buildPointMap(
const Geometry* geom);
102 , geometryFactory(p_geom0->getFactory()) {}
The internal representation of a list of coordinates inside a Geometry.
Definition CoordinateSequence.h:56
Coordinate is the lightweight class used to store coordinates.
Definition Coordinate.h:217
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition GeometryFactory.h:70
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:197
Specifies the precision model of the Coordinate in a Geometry.
Definition PrecisionModel.h:88
Definition OverlayPoints.h:53
std::unique_ptr< Geometry > getResult()
static std::unique_ptr< Geometry > overlay(int opCode, const Geometry *geom0, const Geometry *geom1, const PrecisionModel *pm)
OverlayPoints(int p_opCode, const Geometry *p_geom0, const Geometry *p_geom1, const PrecisionModel *p_pm)
Definition OverlayPoints.h:97
Basic namespace for all GEOS functionalities.
Definition geos.h:39