PointOnGeometryLocator.h
/**********************************************************************
*
* GEOS - Geometry Engine Open Source
* http://geos.osgeo.org
*
* Copyright (C) 2006 Refractions Research Inc.
*
* This is free software; you can redistribute and/or modify it under
* the terms of the GNU Lesser General Public Licence as published
* by the Free Software Foundation.
* See the COPYING file for more information.
*
*
**********************************************************************/
#pragma once
#include <geos/geom/Location.h>
namespace geos {
namespace geom {
class CoordinateXY;
}
}
namespace geos {
namespace algorithm { // geos::algorithm
namespace locate { // geos::algorithm::locate
class GEOS_DLL PointOnGeometryLocator {
private:
protected:
public:
virtual
~PointOnGeometryLocator()
{ }
virtual geom::Location locate(const geom::CoordinateXY* /*const*/ p) = 0;
};
} // geos::algorithm::locate
} // geos::algorithm
} // geos
geos::algorithm::locate::PointOnGeometryLocator
An interface for classes which determine the Location of points in Polygon or MultiPolygon geometries...
Definition PointOnGeometryLocator.h:36
geos::algorithm::locate::PointOnGeometryLocator::locate
virtual geom::Location locate(const geom::CoordinateXY *p)=0
geos::algorithm::locate
Classes which determine the Location of points in geometries.
Definition IndexedPointInAreaLocator.h:40
geos::algorithm
Contains classes and interfaces implementing fundamental computational geometry algorithms.
Definition Angle.h:32
geos::geom
Definition Angle.h:26
geos::geom::Location
Location
Constants representing the location of a point relative to a geometry.
Definition Location.h:32
geos
Basic namespace for all GEOS functionalities.
Definition geos.h:38