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