00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef GEOS_IDX_CHAIN_MONOTONECHAINOVERLAPACTION_H
00021 #define GEOS_IDX_CHAIN_MONOTONECHAINOVERLAPACTION_H
00022
00023 #include <geos/export.h>
00024 #include <geos/geom/LineSegment.h>
00025 #include <geos/geom/Envelope.h>
00026
00027
00028
00029 namespace geos {
00030 namespace index {
00031 namespace chain {
00032 class MonotoneChain;
00033 }
00034 }
00035 }
00036
00037 namespace geos {
00038 namespace index {
00039 namespace chain {
00040
00045 class GEOS_DLL MonotoneChainOverlapAction {
00046
00047 protected:
00048
00049 geom::LineSegment overlapSeg1;
00050
00051 geom::LineSegment overlapSeg2;
00052
00053 public:
00054
00055 MonotoneChainOverlapAction() {};
00056
00057 virtual ~MonotoneChainOverlapAction() {};
00058
00067 virtual void overlap(MonotoneChain& mc1, size_t start1,
00068 MonotoneChain& mc2, size_t start2);
00069
00076 virtual void overlap(const geom::LineSegment& ,
00077 const geom::LineSegment& )
00078 {}
00079
00080
00081 geom::Envelope tempEnv1;
00082 geom::Envelope tempEnv2;
00083 };
00084
00085 }
00086 }
00087 }
00088
00089 #endif // GEOS_IDX_CHAIN_MONOTONECHAINOVERLAPACTION_H
00090
00091
00092
00093
00094
00095
00096
00097