- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

# SegmentIntersector.h

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