GEOS 3.3.8

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

- File List

SimplePointInRing.h
1 /**********************************************************************
2 * $Id: SimplePointInRing.h 2556 2009-06-06 22:22:28Z strk $
3 *
4 * GEOS - Geometry Engine Open Source
5 * http://geos.refractions.net
6 *
7 * Copyright (C) 2005-2006 Refractions Research Inc.
8 * Copyright (C) 2001-2002 Vivid Solutions Inc.
9 *
10 * This is free software; you can redistribute and/or modify it under
11 * the terms of the GNU Lesser General Public Licence as published
12 * by the Free Software Foundation.
13 * See the COPYING file for more information.
14 *
15 **********************************************************************/
16
17 #ifndef GEOS_ALGORITHM_SIMPLEPOINTINRING_H
18 #define GEOS_ALGORITHM_SIMPLEPOINTINRING_H
19
20 #include <geos/export.h>
21 #include <geos/algorithm/PointInRing.h> // for inheritance
22
23 // Forward declarations
24 namespace geos {
25 namespace geom {
26 class Coordinate;
27 class LinearRing;
28 class CoordinateSequence;
29 }
30 }
31
32 namespace geos {
33 namespace algorithm { // geos::algorithm
34
35 class GEOS_DLL SimplePointInRing: public PointInRing {
36 public:
37 SimplePointInRing(geom::LinearRing *ring);
38 virtual ~SimplePointInRing();
39 bool isInside(const geom::Coordinate& pt);
40 private:
41 const geom::CoordinateSequence* pts;
42 };
43
44 } // namespace geos::algorithm
45 } // namespace geos
46
47
48 #endif // GEOS_ALGORITHM_SIMPLEPOINTINRING_H
49
50 /**********************************************************************
51 * $Log$
52 * Revision 1.1 2006/03/09 16:46:48 strk
53 * geos::geom namespace definition, first pass at headers split
54 *
55 **********************************************************************/
56