18 #include <geos/geom/Point.h>
19 #include <geos/geom/Polygon.h>
20 #include <geos/geom/LineString.h>
22 #include <geos/export.h>
32 class GeometryFactory;
36 class CoordinateSequence;
40 class PointOnGeometryLocator;
81 using CoordinateXY = geos::geom::CoordinateXY;
98 std::unique_ptr<Geometry> geomNonPoint;
100 std::unique_ptr<PointOnGeometryLocator> locator;
104 std::unique_ptr<PointOnGeometryLocator> createLocator(
const Geometry* geomNonPoint);
106 std::unique_ptr<Geometry> prepareNonPoint(
const Geometry* geomInput);
108 std::unique_ptr<Geometry> computeIntersection(
const CoordinateSequence* coords)
const;
114 std::unique_ptr<Geometry> createPointResult(std::vector<std::unique_ptr<Point>>& points)
const;
116 std::vector<std::unique_ptr<Point>> findPoints(
bool isCovered,
const CoordinateSequence* coords)
const;
118 std::vector<std::unique_ptr<Point>> createPoints(
const CoordinateSequence& coords)
const;
120 bool hasLocation(
bool isCovered,
const CoordinateXY& coord)
const;
122 std::unique_ptr<Geometry> copyNonPoint()
const;
124 std::unique_ptr<CoordinateSequence> extractCoordinates(
const Geometry* points,
const PrecisionModel* pm)
const;
126 std::vector<std::unique_ptr<Polygon>> extractPolygons(
const Geometry* geom)
const;
128 std::vector<std::unique_ptr<LineString>> extractLines(
const Geometry* geom)
const;
138 std::unique_ptr<Geometry> getResult();
An interface for classes which determine the Location of points in Polygon or MultiPolygon geometries...
Definition: PointOnGeometryLocator.h:36
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
Definition: LineString.h:66
Represents a linear polygon, which may include holes.
Definition: Polygon.h:61
Specifies the precision model of the Coordinate in a Geometry.
Definition: PrecisionModel.h:88
Definition: OverlayMixedPoints.h:76
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25