GEOS  3.9.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.
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
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:37
Location
Constants representing the location of a point relative to a geometry.
Definition: Location.h:34
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26
virtual geom::Location locate(const geom::Coordinate *p)=0