GEOS  3.9.1dev
PointOnGeometryLocator.h
Go to the documentation of this file.
1 /**********************************************************************
2  *
3  * GEOS - Geometry Engine Open Source
4  * http://geos.osgeo.org
5  *
6  * Copyright (C) 2006 Refractions Research Inc.
7  *
8  * This is free software; you can redistribute and/or modify it under
9  * the terms of the GNU Lesser General Public Licence as published
10  * by the Free Software Foundation.
11  * See the COPYING file for more information.
12  *
13  *
14  **********************************************************************/
15 
16 #ifndef GEOS_ALGORITHM_LOCATE_POINTONGEOMETRYLOCATOR_H
17 #define GEOS_ALGORITHM_LOCATE_POINTONGEOMETRYLOCATOR_H
18 
19 #include <geos/geom/Location.h>
20 
21 namespace geos {
22 namespace geom {
23 class Coordinate;
24 }
25 }
26 
27 namespace geos {
28 namespace algorithm { // geos::algorithm
29 namespace locate { // geos::algorithm::locate
30 
38 private:
39 protected:
40 public:
41  virtual
43  { }
44 
51  virtual geom::Location locate(const geom::Coordinate* /*const*/ p) = 0;
52 };
53 
54 } // geos::algorithm::locate
55 } // geos::algorithm
56 } // geos
57 
58 #endif // GEOS_ALGORITHM_LOCATE_POINTONGEOMETRYLOCATOR_H
#define GEOS_DLL
Definition: export.h:28
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
An interface for classes which determine the Location of points in Polygon or MultiPolygon geometries...
Location
Constants representing the location of a point relative to a geometry.
Definition: Location.h:34
Basic namespace for all GEOS functionalities.