00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef GEOS_OP_DISTANCE_CONNECTEDELEMENTLOCATIONFILTER_H
00017 #define GEOS_OP_DISTANCE_CONNECTEDELEMENTLOCATIONFILTER_H
00018
00019 #include <geos/geom/GeometryFilter.h>
00020
00021 #include <vector>
00022
00023
00024 namespace geos {
00025 namespace geom {
00026 class Geometry;
00027 }
00028 namespace operation {
00029 namespace distance {
00030 class GeometryLocation;
00031 }
00032 }
00033 }
00034
00035
00036 namespace geos {
00037 namespace operation {
00038 namespace distance {
00039
00047 class ConnectedElementLocationFilter: public geom::GeometryFilter {
00048 private:
00049
00050 std::vector<GeometryLocation*> *locations;
00051
00052 public:
00059 static std::vector<GeometryLocation*>* getLocations(const geom::Geometry *geom);
00060
00061 ConnectedElementLocationFilter(std::vector<GeometryLocation*> *newLocations)
00062 :
00063 locations(newLocations)
00064 {}
00065
00066 void filter_ro(const geom::Geometry *geom);
00067 void filter_rw(geom::Geometry *geom);
00068 };
00069
00070
00071 }
00072 }
00073 }
00074
00075 #endif // GEOS_OP_DISTANCE_CONNECTEDELEMENTLOCATIONFILTER_H
00076
00077
00078
00079
00080
00081
00082
00083