GEOS
3.8.0dev

Determines the location of Coordinates relative to an areal geometry, using indexing for efficiency. More...
#include <IndexedPointInAreaLocator.h>
Public Member Functions  
IndexedPointInAreaLocator (const geom::Geometry &g)  
int  locate (const geom::Coordinate *p) override 
Determines the location of Coordinates relative to an areal geometry, using indexing for efficiency.
The Location is computed precisely, in that points located on the geometry boundary or segments will return Location.BOUNDARY.
Polygonal and LinearRing geometries are supported.
geos::algorithm::locate::IndexedPointInAreaLocator::IndexedPointInAreaLocator  (  const geom::Geometry &  g  ) 
Creates a new locator for a given Geometry Polygonal and LinearRing geometries are supported.
g  the Geometry to locate in 

overridevirtual 
Determines the Location of a point in an areal Geometry.
p  the point to test 
Implements geos::algorithm::locate::PointOnGeometryLocator.