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