00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef GEOS_GEOM_PREP_PREPAREDPOLYGONINTERSECTS_H
00018 #define GEOS_GEOM_PREP_PREPAREDPOLYGONINTERSECTS_H
00019
00020 #include <geos/geom/prep/PreparedPolygonPredicate.h>
00021
00022 namespace geos {
00023 namespace geom {
00024 class Geometry;
00025
00026 namespace prep {
00027 class PreparedPolygon;
00028 }
00029 }
00030 }
00031
00032 namespace geos {
00033 namespace geom {
00034 namespace prep {
00035
00046 class PreparedPolygonIntersects : public PreparedPolygonPredicate
00047 {
00048 private:
00049 protected:
00050 public:
00059 static bool intersects( const PreparedPolygon * const prep, const geom::Geometry * geom)
00060 {
00061 PreparedPolygonIntersects polyInt(prep);
00062 return polyInt.intersects( geom);
00063 }
00064
00070 PreparedPolygonIntersects( const PreparedPolygon * const prep)
00071 : PreparedPolygonPredicate( prep)
00072 { }
00073
00080 bool intersects( const geom::Geometry * geom);
00081
00082 };
00083
00084 }
00085 }
00086 }
00087
00088 #endif // GEOS_GEOM_PREP_PREPAREDPOLYGONINTERSECTS_H
00089
00090
00091
00092