18#include <geos/algorithm/locate/PointOnGeometryLocator.h>
An interface for classes which determine the Location of points in Polygon or MultiPolygon geometries...
Definition: PointOnGeometryLocator.h:36
Computes the location of points relative to a polygonal Geometry, using a simple O(n) algorithm.
Definition: SimplePointInAreaLocator.h:46
geom::Location locate(const geom::Coordinate *p) override
Definition: SimplePointInAreaLocator.h:95
static geom::Location locatePointInPolygon(const geom::Coordinate &p, const geom::Polygon *poly)
Determines the Location of a point in a Polygon.
static bool isContained(const geom::Coordinate &p, const geom::Geometry *geom)
Determines whether a point is contained in a Geometry, or lies on its boundary.
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:58
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:186
Represents a linear polygon, which may include holes.
Definition: Polygon.h:61
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