GEOS  3.4.2
PointInRing.h
1 /**********************************************************************
2  *
3  * GEOS - Geometry Engine Open Source
4  * http://geos.osgeo.org
5  *
6  * Copyright (C) 2005-2006 Refractions Research Inc.
7  * Copyright (C) 2001-2002 Vivid Solutions 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 #ifndef GEOS_ALGORITHM_POINTINRING_H
17 #define GEOS_ALGORITHM_POINTINRING_H
18 
19 #include <geos/export.h>
20 
21 // Forward declarations
22 namespace geos {
23  namespace geom {
24  class Coordinate;
25  }
26 }
27 
28 namespace geos {
29 namespace algorithm { // geos::algorithm
30 
31 class GEOS_DLL PointInRing{
32 public:
33  virtual ~PointInRing(){}
34  virtual bool isInside(const geom::Coordinate& pt)=0;
35 };
36 
37 } // namespace geos::algorithm
38 } // namespace geos
39 
40 
41 #endif
42