GEOS  3.4.2
PointOnGeometryLocator.h
00001 /**********************************************************************
00002  *
00003  * GEOS - Geometry Engine Open Source
00004  * http://geos.osgeo.org
00005  *
00006  * Copyright (C) 2006 Refractions Research Inc.
00007  *
00008  * This is free software; you can redistribute and/or modify it under
00009  * the terms of the GNU Lesser General Public Licence as published
00010  * by the Free Software Foundation. 
00011  * See the COPYING file for more information.
00012  *
00013  *
00014  **********************************************************************/
00015 
00016 #ifndef GEOS_ALGORITHM_LOCATE_POINTONGEOMETRYLOCATOR_H
00017 #define GEOS_ALGORITHM_LOCATE_POINTONGEOMETRYLOCATOR_H
00018 
00019 namespace geos {
00020         namespace geom {
00021                 class Coordinate; 
00022         }
00023 }
00024 
00025 namespace geos {
00026 namespace algorithm { // geos::algorithm
00027 namespace locate { // geos::algorithm::locate
00028 
00035 class PointOnGeometryLocator
00036 {
00037 private:
00038 protected:
00039 public:
00040         virtual ~PointOnGeometryLocator() 
00041         { }
00042 
00049         virtual int locate( const geom::Coordinate * /*const*/ p) =0;
00050 };
00051 
00052 } // geos::algorithm::locate
00053 } // geos::algorithm
00054 } // geos
00055 
00056 #endif // GEOS_ALGORITHM_LOCATE_POINTONGEOMETRYLOCATOR_H