17#include <geos/algorithm/locate/IndexedPointInAreaLocator.h>
28using geos::geom::CoordinateXY;
36class GEOS_DLL CoveragePolygon {
41 mutable std::unique_ptr<IndexedPointInAreaLocator> m_locator;
44 CoveragePolygon(
const Polygon* poly);
46 bool intersectsEnv(
const Envelope& env)
const;
47 bool intersectsEnv(
const CoordinateXY& p)
const;
48 bool contains(
const CoordinateXY& p)
const;
Determines the location of Coordinates relative to an areal geometry, using indexing for efficiency.
Definition IndexedPointInAreaLocator.h:54
An Envelope defines a rectangulare region of the 2D coordinate plane.
Definition Envelope.h:59
Represents a linear polygon, which may include holes.
Definition Polygon.h:61
Basic namespace for all GEOS functionalities.
Definition geos.h:39