22#include <geos/geom/Coordinate.h>
23#include <geos/geom/Geometry.h>
24#include <geos/geom/Location.h>
25#include <geos/index/strtree/TemplateSTRtree.h>
26#include <geos/algorithm/locate/IndexedPointInAreaLocator.h>
41 using CoordinateXY = geos::geom::CoordinateXY;
43 template<
typename ItemType>
44 using TemplateSTRtree = geos::index::strtree::TemplateSTRtree<ItemType>;
75 TemplateSTRtree<IndexedPointInAreaLocator*> index;
76 std::vector<std::unique_ptr<IndexedPointInAreaLocator>> locators;
Determines the location of a point in the polygonal elements of a geometry.
Definition IndexedPointInPolygonsLocator.h:39
Location locate(const CoordinateXY *p)
Determines the Location of a point in the polygonal elements of a Geometry.
IndexedPointInPolygonsLocator(const Geometry &geom)
Creates an instance to locate a point in polygonal elements.
Determines the location of Coordinates relative to an areal geometry, using indexing for efficiency.
Definition IndexedPointInAreaLocator.h:54
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:197
Location
Constants representing the location of a point relative to a geometry.
Definition Location.h:32
Basic namespace for all GEOS functionalities.
Definition geos.h:39