00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef GEOS_NODING_FASTSEGMENTSETINTERSECTIONFINDER_H
00021 #define GEOS_NODING_FASTSEGMENTSETINTERSECTIONFINDER_H
00022
00023 #include <geos/noding/SegmentString.h>
00024 #include <geos/noding/MCIndexSegmentSetMutualIntersector.h>
00025
00026
00027
00028 namespace geos {
00029 namespace noding {
00030 class SegmentIntersectionDetector;
00031 class SegmentSetMutualIntersector;
00032
00033 }
00034 }
00035
00036
00037 namespace geos {
00038 namespace noding {
00039
00049 class FastSegmentSetIntersectionFinder
00050 {
00051 private:
00052 MCIndexSegmentSetMutualIntersector * segSetMutInt;
00053 geos::algorithm::LineIntersector * lineIntersector;
00054
00055 protected:
00056 public:
00057 FastSegmentSetIntersectionFinder( SegmentString::ConstVect * baseSegStrings);
00058
00059 ~FastSegmentSetIntersectionFinder();
00060
00067 SegmentSetMutualIntersector * getSegmentSetIntersector()
00068 {
00069 return segSetMutInt;
00070 }
00071
00072 bool intersects( SegmentString::ConstVect * segStrings);
00073 bool intersects( SegmentString::ConstVect * segStrings, SegmentIntersectionDetector * intDetector);
00074
00075 };
00076
00077 }
00078 }
00079
00080 #endif // GEOS_NODING_FASTSEGMENTSETINTERSECTIONFINDER_H
00081