18 #include <geos/algorithm/locate/PointOnGeometryLocator.h>
99 locate(
const geom::CoordinateXY* p)
override
101 return locate(*p, g);
106 static geom::Location locateInGeometry(
const geom::CoordinateXY& p,
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::CoordinateXY *p) override
Definition: SimplePointInAreaLocator.h:99
static bool isContained(const geom::CoordinateXY &p, const geom::Geometry *geom)
Determines whether a point is contained in a Geometry, or lies on its boundary.
static geom::Location locatePointInSurface(const geom::CoordinateXY &p, const geom::Surface &poly)
Determines the Location of a point in a Surface.
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: Angle.h:25