GEOS  3.14.0dev
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:
geos::algorithm::locate::IndexedPointInAreaLocator geos::algorithm::locate::SimplePointInAreaLocator geos::operation::overlayng::IndexedPointOnLineLocator

Public Member Functions

virtual geom::Location locate (const geom::CoordinateXY *p)=0
 

Detailed Description

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

Author
Martin Davis

Member Function Documentation

◆ locate()

virtual geom::Location geos::algorithm::locate::PointOnGeometryLocator::locate ( const geom::CoordinateXY *  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::operation::overlayng::IndexedPointOnLineLocator, geos::algorithm::locate::SimplePointInAreaLocator, and geos::algorithm::locate::IndexedPointInAreaLocator.


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