00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef GEOS_NODING_SEGMENTINTERSECTOR_H
00017 #define GEOS_NODING_SEGMENTINTERSECTOR_H
00018
00019 #include <geos/export.h>
00020
00021 #include <geos/inline.h>
00022
00023
00024 namespace geos {
00025 namespace noding {
00026 class SegmentString;
00027 }
00028 }
00029
00030 namespace geos {
00031 namespace noding {
00032
00048 class GEOS_DLL SegmentIntersector {
00049
00050 public:
00051
00058 virtual void processIntersections(
00059 SegmentString* e0, int segIndex0,
00060 SegmentString* e1, int segIndex1)=0;
00061
00071 virtual bool isDone() const {
00072 return false;
00073 }
00074
00075 virtual ~SegmentIntersector()
00076 { }
00077
00078 protected:
00079
00080 SegmentIntersector() {}
00081
00082 };
00083
00085 typedef SegmentIntersector nodingSegmentIntersector;
00086
00087 }
00088 }
00089
00090
00091
00092
00093
00094 #endif // GEOS_NODING_SEGMENTINTERSECTOR_H
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106