GEOS 3.3.4

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

- File List

noding/SegmentIntersector.h
1 /**********************************************************************
2 * $Id: SegmentIntersector.h 2556 2009-06-06 22:22:28Z strk $
3 *
4 * GEOS - Geometry Engine Open Source
5 * http://geos.refractions.net
6 *
7 * Copyright (C) 2006 Refractions Research Inc.
8 *
9 * This is free software; you can redistribute and/or modify it under
10 * the terms of the GNU Lesser General Public Licence as published
11 * by the Free Software Foundation.
12 * See the COPYING file for more information.
13 *
14 **********************************************************************/
15
16 #ifndef GEOS_NODING_SEGMENTINTERSECTOR_H
17 #define GEOS_NODING_SEGMENTINTERSECTOR_H
18
19 #include <geos/export.h>
20
21 #include <geos/inline.h>
22
23 // Forward declarations
24 namespace geos {
25 namespace noding {
26 class SegmentString;
27 }
28 }
29
30 namespace geos {
31 namespace noding { // geos.noding
32
48 class GEOS_DLL SegmentIntersector {
49
50 public:
51
58 virtual void processIntersections(
59 SegmentString* e0, int segIndex0,
60 SegmentString* e1, int segIndex1)=0;
61
71 virtual bool isDone() const {
72 return false;
73 }
74
75 virtual ~SegmentIntersector()
76 { }
77
78 protected:
79
80 SegmentIntersector() {}
81
82 };
83
85 typedef SegmentIntersector nodingSegmentIntersector;
86
87 } // namespace geos.noding
88 } // namespace geos
89
90 //#ifdef GEOS_INLINE
91 //# include "geos/noding/SegmentIntersector.inl"
92 //#endif
93
94 #endif // GEOS_NODING_SEGMENTINTERSECTOR_H
95
96 /**********************************************************************
97 * $Log$
98 * Revision 1.2 2006/03/24 09:52:41 strk
99 * USE_INLINE => GEOS_INLINE
100 *
101 * Revision 1.1 2006/03/09 16:46:49 strk
102 * geos::geom namespace definition, first pass at headers split
103 *
104 **********************************************************************/
105
106