GEOS  3.8.0dev
PointOnGeometryLocator.h
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 namespace geos {
20 namespace geom {
21 class Coordinate;
22 }
23 }
24 
25 namespace geos {
26 namespace algorithm { // geos::algorithm
27 namespace locate { // geos::algorithm::locate
28 
36 private:
37 protected:
38 public:
39  virtual
41  { }
42 
49  virtual int locate(const geom::Coordinate* /*const*/ p) = 0;
50 };
51 
52 } // geos::algorithm::locate
53 } // geos::algorithm
54 } // geos
55 
56 #endif // GEOS_ALGORITHM_LOCATE_POINTONGEOMETRYLOCATOR_H
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...
Definition: PointOnGeometryLocator.h:35
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
virtual int locate(const geom::Coordinate *p)=0