00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef GEOS_ALGORITHM_SIMPLEPOINTINRING_H
00017 #define GEOS_ALGORITHM_SIMPLEPOINTINRING_H
00018
00019 #include <geos/export.h>
00020 #include <geos/algorithm/PointInRing.h>
00021
00022
00023 namespace geos {
00024 namespace geom {
00025 class Coordinate;
00026 class LinearRing;
00027 class CoordinateSequence;
00028 }
00029 }
00030
00031 namespace geos {
00032 namespace algorithm {
00033
00034 class GEOS_DLL SimplePointInRing: public PointInRing {
00035 public:
00036 SimplePointInRing(geom::LinearRing *ring);
00037 virtual ~SimplePointInRing();
00038 bool isInside(const geom::Coordinate& pt);
00039 private:
00040 const geom::CoordinateSequence* pts;
00041 };
00042
00043 }
00044 }
00045
00046
00047 #endif // GEOS_ALGORITHM_SIMPLEPOINTINRING_H
00048