00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef GEOS_OP_RELATE_RELATEOP_H
00021 #define GEOS_OP_RELATE_RELATEOP_H
00022
00023 #include <geos/export.h>
00024
00025 #include <geos/operation/GeometryGraphOperation.h>
00026 #include <geos/operation/relate/RelateComputer.h>
00027
00028
00029 namespace geos {
00030 namespace algorithm {
00031 class BoundaryNodeRule;
00032 }
00033 namespace geom {
00034 class IntersectionMatrix;
00035 class Geometry;
00036 }
00037 }
00038
00039
00040 namespace geos {
00041 namespace operation {
00042 namespace relate {
00043
00058 class GEOS_DLL RelateOp: public GeometryGraphOperation {
00059
00060 public:
00061
00073 static geom::IntersectionMatrix* relate(
00074 const geom::Geometry *a,
00075 const geom::Geometry *b);
00076
00089 static geom::IntersectionMatrix* relate(
00090 const geom::Geometry *a,
00091 const geom::Geometry *b,
00092 const algorithm::BoundaryNodeRule& boundaryNodeRule);
00093
00101 RelateOp(const geom::Geometry *g0,
00102 const geom::Geometry *g1);
00103
00112 RelateOp(const geom::Geometry *g0,
00113 const geom::Geometry *g1,
00114 const algorithm::BoundaryNodeRule& boundaryNodeRule);
00115
00116 virtual ~RelateOp();
00117
00126 geom::IntersectionMatrix* getIntersectionMatrix();
00127
00128 private:
00129
00130 RelateComputer relateComp;
00131 };
00132
00133
00134 }
00135 }
00136 }
00137
00138 #endif // GEOS_OP_RELATE_RELATEOP_H
00139
00140
00141
00142
00143
00144
00145
00146