00001 /********************************************************************** 00002 * $Id: SegmentIntersector.h 2114 2008-01-29 17:55:09Z benjubb $ 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_SEGMENTINTERSECTOR_H 00017 #define GEOS_NODING_SEGMENTINTERSECTOR_H 00018 00019 #include <geos/inline.h> 00020 00021 // Forward declarations 00022 namespace geos { 00023 namespace noding { 00024 class SegmentString; 00025 } 00026 } 00027 00028 namespace geos { 00029 namespace noding { // geos.noding 00030 00046 class SegmentIntersector { 00047 00048 public: 00049 00056 virtual void processIntersections( 00057 SegmentString* e0, int segIndex0, 00058 SegmentString* e1, int segIndex1)=0; 00059 00069 virtual bool isDone() const { 00070 return false; 00071 } 00072 00073 virtual ~SegmentIntersector() 00074 { } 00075 00076 protected: 00077 00078 SegmentIntersector() {} 00079 00080 }; 00081 00083 typedef SegmentIntersector nodingSegmentIntersector; 00084 00085 } // namespace geos.noding 00086 } // namespace geos 00087 00088 //#ifdef GEOS_INLINE 00089 //# include "geos/noding/SegmentIntersector.inl" 00090 //#endif 00091 00092 #endif // GEOS_NODING_SEGMENTINTERSECTOR_H 00093 00094 /********************************************************************** 00095 * $Log$ 00096 * Revision 1.2 2006/03/24 09:52:41 strk 00097 * USE_INLINE => GEOS_INLINE 00098 * 00099 * Revision 1.1 2006/03/09 16:46:49 strk 00100 * geos::geom namespace definition, first pass at headers split 00101 * 00102 **********************************************************************/ 00103 00104