GEOS
3.4.2
|
Determines the location of Coordinates relative to a Polygon or MultiPolygon geometry, using indexing for efficiency. More...
#include <IndexedPointInAreaLocator.h>
Public Member Functions | |
IndexedPointInAreaLocator (const geom::Geometry &g) | |
int | locate (const geom::Coordinate *p) |
Determines the location of Coordinates relative to a Polygon or MultiPolygon geometry, using indexing for efficiency.
This algorithm is suitable for use in cases where many points will be tested against a given area.
geos::algorithm::locate::IndexedPointInAreaLocator::IndexedPointInAreaLocator | ( | const geom::Geometry & | g | ) |
Creates a new locator for a given Geometry
g | the Geometry to locate in |
|
virtual |
Determines the Location of a point in an areal Geometry.
p | the point to test |
Implements geos::algorithm::locate::PointOnGeometryLocator.