GEOS  3.9.1dev
noding/SegmentIntersector.h
Go to the documentation of this file.
1 /**********************************************************************
2  *
3  * GEOS - Geometry Engine Open Source
4  * http://geos.osgeo.org
5  *
6  * Copyright (C) 2006 Refractions Research Inc.
7  *
8  * This is free software; you can redistribute and/or modify it under
9  * the terms of the GNU Lesser General Public Licence as published
10  * by the Free Software Foundation.
11  * See the COPYING file for more information.
12  *
13  **********************************************************************/
14 
15 #ifndef GEOS_NODING_SEGMENTINTERSECTOR_H
16 #define GEOS_NODING_SEGMENTINTERSECTOR_H
17 
18 #include <cstddef>
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 
49 
50 public:
51 
58  virtual void processIntersections(
59  SegmentString* e0, size_t segIndex0,
60  SegmentString* e1, size_t segIndex1) = 0;
61 
71  virtual bool
72  isDone() const
73  {
74  return false;
75  }
76 
77  virtual
79  { }
80 
81 protected:
82 
84 
85 };
86 
89 
90 } // namespace geos.noding
91 } // namespace geos
92 
93 #endif // GEOS_NODING_SEGMENTINTERSECTOR_H
#define GEOS_DLL
Definition: export.h:28
An interface for classes which represent a sequence of contiguous line segments.
Definition: SegmentString.h:46
virtual bool isDone() const
Reports whether the client of this class needs to continue testing all intersections in an arrangemen...
Basic namespace for all GEOS functionalities.
Processes possible intersections detected by a Noder.
SegmentIntersector nodingSegmentIntersector
Temporary typedef for namespace transition.