00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef GEOS_OP_DISTANCE_CONNECTEDELEMENTPOINTFILTER_H
00017 #define GEOS_OP_DISTANCE_CONNECTEDELEMENTPOINTFILTER_H
00018
00019 #include <geos/geom/GeometryFilter.h>
00020
00021 #include <vector>
00022
00023
00024 namespace geos {
00025 namespace geom {
00026 class Coordinate;
00027 class Geometry;
00028 }
00029 }
00030
00031
00032 namespace geos {
00033 namespace operation {
00034 namespace distance {
00035
00042 class ConnectedElementPointFilter: public geom::GeometryFilter {
00043
00044 private:
00045 std::vector<const geom::Coordinate*> *pts;
00046
00047 public:
00053 static std::vector<const geom::Coordinate*>* getCoordinates(const geom::Geometry *geom);
00054
00055 ConnectedElementPointFilter(std::vector<const geom::Coordinate*> *newPts)
00056 :
00057 pts(newPts)
00058 {}
00059
00060 void filter_ro(const geom::Geometry *geom);
00061
00062
00063 };
00064
00065
00066 }
00067 }
00068 }
00069
00070 #endif // GEOS_OP_DISTANCE_CONNECTEDELEMENTPOINTFILTER_H
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081