17#include <geos/algorithm/locate/IndexedPointInAreaLocator.h> 
   31class GEOS_DLL CoveragePolygon {
 
   32    using CoordinateXY = geos::geom::CoordinateXY;
 
   38    const Polygon* m_polygon;
 
   40    mutable std::unique_ptr<IndexedPointInAreaLocator> m_locator;
 
   43    CoveragePolygon(
const Polygon* poly);
 
   45    bool intersectsEnv(
const Envelope& env) 
const;
 
   46    bool intersectsEnv(
const CoordinateXY& p) 
const;
 
   47    bool contains(
const CoordinateXY& p) 
const;
 
   50    IndexedPointInAreaLocator& getLocator() 
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:38