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