GEOS
3.4.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 #ifndef GEOS_NODING_NODER_H 00016 #define GEOS_NODING_NODER_H 00017 00018 #include <geos/export.h> 00019 00020 #include <vector> 00021 #include <iostream> 00022 00023 #include <geos/inline.h> 00024 00025 // Forward declarations 00026 namespace geos { 00027 namespace noding { 00028 class SegmentString; 00029 } 00030 } 00031 00032 namespace geos { 00033 namespace noding { // geos.noding 00034 00035 00049 class GEOS_DLL Noder { 00050 public: 00059 virtual void computeNodes(std::vector<SegmentString*>* segStrings)=0; 00060 00068 virtual std::vector<SegmentString*>* getNodedSubstrings() const=0; 00069 00070 virtual ~Noder() {} 00071 00072 protected: 00073 Noder(){} 00074 }; 00075 00076 } // namespace geos.noding 00077 } // namespace geos 00078 00079 //#ifdef GEOS_INLINE 00080 //# include "geos/noding/Noder.inl" 00081 //#endif 00082 00083 #endif // GEOS_NODING_NODER_H 00084