GEOS  3.8.0dev
Noder.h
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_NODER_H
16 #define GEOS_NODING_NODER_H
17 
18 #include <geos/export.h>
19 
20 #include <vector>
21 #include <iostream>
22 
23 #include <geos/inline.h>
24 
25 // Forward declarations
26 namespace geos {
27 namespace noding {
28 class SegmentString;
29 }
30 }
31 
32 namespace geos {
33 namespace noding { // geos.noding
34 
35 
49 class GEOS_DLL Noder {
50 public:
59  virtual void computeNodes(std::vector<SegmentString*>* segStrings) = 0;
60 
68  virtual std::vector<SegmentString*>* getNodedSubstrings() const = 0;
69 
70  virtual
71  ~Noder() {}
72 
73 protected:
74  Noder() {}
75 };
76 
77 } // namespace geos.noding
78 } // namespace geos
79 
80 //#ifdef GEOS_INLINE
81 //# include "geos/noding/Noder.inl"
82 //#endif
83 
84 #endif // GEOS_NODING_NODER_H
85 
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
Computes all intersections between segments in a set of SegmentString.
Definition: Noder.h:49