GEOS
3.6.2
|
00001 /********************************************************************** 00002 * 00003 * GEOS - Geometry Engine Open Source 00004 * http://geos.osgeo.org 00005 * 00006 * Copyright (C) 2006 Refractions Research Inc. 00007 * 00008 * This is free software; you can redistribute and/or modify it under 00009 * the terms of the GNU Lesser General Public Licence as published 00010 * by the Free Software Foundation. 00011 * See the COPYING file for more information. 00012 * 00013 * 00014 **********************************************************************/ 00015 00016 #ifndef GEOS_NODING_SEGMENTSETMUTUALINTERSECTOR_H 00017 #define GEOS_NODING_SEGMENTSETMUTUALINTERSECTOR_H 00018 00019 #include <geos/noding/SegmentString.h> 00020 #include <geos/noding/SegmentIntersector.h> 00021 00022 namespace geos { 00023 namespace noding { // geos::noding 00024 00037 class SegmentSetMutualIntersector 00038 { 00039 public: 00040 00041 SegmentSetMutualIntersector() 00042 : segInt(0) 00043 {} 00044 00045 virtual ~SegmentSetMutualIntersector() {} 00046 00054 void setSegmentIntersector(SegmentIntersector* si) 00055 { 00056 segInt = si; 00057 } 00058 00063 virtual void setBaseSegments(SegmentString::ConstVect* segStrings) = 0; 00064 00070 virtual void process(SegmentString::ConstVect* segStrings) = 0; 00071 00072 protected: 00073 00074 SegmentIntersector* segInt; 00075 00076 }; 00077 00078 } // geos::noding 00079 } // geos 00080 00081 #endif // GEOS_NODING_SEGMENTSETMUTUALINTERSECTOR_H