GEOS 3.4.2

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

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
35 class PointOnGeometryLocator
36 {
37 private:
38 protected:
39 public:
40 virtual ~PointOnGeometryLocator()
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