00001 /********************************************************************** 00002 * $Id: Noder.h 2556 2009-06-06 22:22:28Z strk $ 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 #ifndef GEOS_NODING_NODER_H 00017 #define GEOS_NODING_NODER_H 00018 00019 #include <geos/export.h> 00020 00021 #include <vector> 00022 #include <iostream> 00023 00024 #include <geos/inline.h> 00025 00026 // Forward declarations 00027 namespace geos { 00028 namespace noding { 00029 class SegmentString; 00030 } 00031 } 00032 00033 namespace geos { 00034 namespace noding { // geos.noding 00035 00036 00050 class GEOS_DLL Noder { 00051 public: 00060 virtual void computeNodes(std::vector<SegmentString*>* segStrings)=0; 00061 00069 virtual std::vector<SegmentString*>* getNodedSubstrings() const=0; 00070 00071 virtual ~Noder() {} 00072 00073 protected: 00074 Noder(){}; 00075 }; 00076 00077 } // namespace geos.noding 00078 } // namespace geos 00079 00080 //#ifdef GEOS_INLINE 00081 //# include "geos/noding/Noder.inl" 00082 //#endif 00083 00084 #endif // GEOS_NODING_NODER_H 00085 00086 /********************************************************************** 00087 * $Log$ 00088 * Revision 1.2 2006/03/24 09:52:41 strk 00089 * USE_INLINE => GEOS_INLINE 00090 * 00091 * Revision 1.1 2006/03/09 16:46:49 strk 00092 * geos::geom namespace definition, first pass at headers split 00093 * 00094 **********************************************************************/ 00095