GEOS  3.9.1dev
Public Member Functions | List of all members
geos::algorithm::locate::PointOnGeometryLocator Class Referenceabstract

An interface for classes which determine the Location of points in Polygon or MultiPolygon geometries. More...

#include <PointOnGeometryLocator.h>

Inheritance diagram for geos::algorithm::locate::PointOnGeometryLocator:
[legend]

Public Member Functions

virtual ~PointOnGeometryLocator ()
 
virtual geom::Location locate (const geom::Coordinate *p)=0
 

Detailed Description

An interface for classes which determine the Location of points in Polygon or MultiPolygon geometries.

Author
Martin Davis

Definition at line 37 of file PointOnGeometryLocator.h.

Constructor & Destructor Documentation

virtual geos::algorithm::locate::PointOnGeometryLocator::~PointOnGeometryLocator ( )
inlinevirtual

Definition at line 42 of file PointOnGeometryLocator.h.

Member Function Documentation

virtual geom::Location geos::algorithm::locate::PointOnGeometryLocator::locate ( const geom::Coordinate p)
pure virtual

Determines the Location of a point in an areal Geometry.

Parameters
pthe point to test
Returns
the location of the point in the geometry

Implemented in geos::algorithm::locate::IndexedPointInAreaLocator, geos::algorithm::locate::SimplePointInAreaLocator, and geos::operation::overlayng::IndexedPointOnLineLocator.


The documentation for this class was generated from the following file: