GEOS: PointOnGeometryLocator.h Source File

GEOS 3.3.8

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

- File List

PointOnGeometryLocator.h
1 /**********************************************************************
2 * $Id: PointOnGeometryLocator.h 2263 2009-01-29 18:56:00Z mloskot $
3 *
4 * GEOS - Geometry Engine Open Source
5 * http://geos.refractions.net
6 *
7 * Copyright (C) 2006 Refractions Research Inc.
8 *
9 * This is free software; you can redistribute and/or modify it under
10 * the terms of the GNU Lesser General Public Licence as published
11 * by the Free Software Foundation.
12 * See the COPYING file for more information.
13 *
14 *
15 **********************************************************************/
16
17 #ifndef GEOS_ALGORITHM_LOCATE_POINTONGEOMETRYLOCATOR_H
18 #define GEOS_ALGORITHM_LOCATE_POINTONGEOMETRYLOCATOR_H
19
20 namespace geos {
21 namespace geom {
22 class Coordinate;
23 }
24 }
25
26 namespace geos {
27 namespace algorithm { // geos::algorithm
28 namespace locate { // geos::algorithm::locate
29
36 class PointOnGeometryLocator
37 {
38 private:
39 protected:
40 public:
41 virtual ~PointOnGeometryLocator()
42 { }
43
50 virtual int locate( const geom::Coordinate * /*const*/ p) =0;
51 };
52
53 } // geos::algorithm::locate
54 } // geos::algorithm
55 } // geos
56
57 #endif // GEOS_ALGORITHM_LOCATE_POINTONGEOMETRYLOCATOR_H
58 /**********************************************************************
59 * $Log$
60 **********************************************************************/
61