16 #ifndef GEOS_ALGORITHM_LOCATE_SIMPLEPOINTINAREALOCATOR_H 17 #define GEOS_ALGORITHM_LOCATE_SIMPLEPOINTINAREALOCATOR_H 19 #include <geos/algorithm/locate/PointOnGeometryLocator.h> 115 #endif // GEOS_ALGORITHM_LOCATE_SIMPLEPOINTINAREALOCATOR_H static geom::Location locatePointInPolygon(const geom::Coordinate &p, const geom::Polygon *poly)
Determines the Location of a point in a Polygon.
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
Computes the location of points relative to a polygonal Geometry, using a simple O(n) algorithm.
Definition: SimplePointInAreaLocator.h:47
An interface for classes which determine the Location of points in Polygon or MultiPolygon geometries...
Definition: PointOnGeometryLocator.h:37
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:188
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.
Represents a linear polygon, which may include holes.
Definition: Polygon.h:64
Location
Constants representing the location of a point relative to a geometry.
Definition: Location.h:34
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
geom::Location locate(const geom::Coordinate *p) override
Definition: SimplePointInAreaLocator.h:96