00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef GEOS_IDX_CHAIN_MONOTONECHAINSELECTACTION_H
00020 #define GEOS_IDX_CHAIN_MONOTONECHAINSELECTACTION_H
00021
00022 #include <geos/export.h>
00023 #include <geos/geom/LineSegment.h>
00024 #include <geos/geom/Envelope.h>
00025
00026
00027
00028 namespace geos {
00029 namespace index {
00030 namespace chain {
00031 class MonotoneChain;
00032 }
00033 }
00034 }
00035
00036 namespace geos {
00037 namespace index {
00038 namespace chain {
00039
00045 class GEOS_DLL MonotoneChainSelectAction {
00046
00047 protected:
00048
00049 geom::LineSegment selectedSegment;
00050
00051 public:
00052
00053 MonotoneChainSelectAction() {}
00054
00055 virtual ~MonotoneChainSelectAction() {}
00056
00058 virtual void select(MonotoneChain& mc, unsigned int start);
00059
00066 virtual void select(const geom::LineSegment& seg) = 0;
00067
00068
00069
00070 geom::Envelope tempEnv1;
00071 };
00072
00073
00074 }
00075 }
00076 }
00077
00078 #endif // GEOS_IDX_CHAIN_MONOTONECHAINSELECTACTION_H
00079