GEOS
3.6.2
|
00001 /********************************************************************** 00002 * 00003 * GEOS - Geometry Engine Open Source 00004 * http://geos.osgeo.org 00005 * 00006 * Copyright (C) 2005-2006 Refractions Research Inc. 00007 * Copyright (C) 2001-2002 Vivid Solutions 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 #ifndef GEOS_ALGORITHM_POINTINRING_H 00017 #define GEOS_ALGORITHM_POINTINRING_H 00018 00019 #include <geos/export.h> 00020 00021 // Forward declarations 00022 namespace geos { 00023 namespace geom { 00024 class Coordinate; 00025 } 00026 } 00027 00028 namespace geos { 00029 namespace algorithm { // geos::algorithm 00030 00031 class GEOS_DLL PointInRing{ 00032 public: 00033 virtual ~PointInRing(){} 00034 virtual bool isInside(const geom::Coordinate& pt)=0; 00035 }; 00036 00037 } // namespace geos::algorithm 00038 } // namespace geos 00039 00040 00041 #endif 00042