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

# SegmentIntersector.h

    00001 /**********************************************************************
    00002  * $Id: SegmentIntersector.h 1939 2006-12-11 17:42:55Z 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/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 protected:
    00074
    00075         SegmentIntersector() {}
    00076         virtual ~SegmentIntersector() {}
    00077
    00078 };
    00079
    00081 typedef SegmentIntersector nodingSegmentIntersector;
    00082
    00083 } // namespace geos.noding
    00084 } // namespace geos
    00085
    00086 //#ifdef GEOS_INLINE
    00087 //# include "geos/noding/SegmentIntersector.inl"
    00088 //#endif
    00089
    00090 #endif // GEOS_NODING_SEGMENTINTERSECTOR_H
    00091
    00092 /**********************************************************************
    00093  * $Log$
    00094  * Revision 1.2  2006/03/24 09:52:41  strk
    00095  * USE_INLINE => GEOS_INLINE
    00096  *
    00097  * Revision 1.1  2006/03/09 16:46:49  strk
    00098  * geos::geom namespace definition, first pass at headers split
    00099  *
    00100  **********************************************************************/
    00101