GEOS  3.9.1dev
Noder.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_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:
61  virtual void computeNodes(std::vector<SegmentString*>* segStrings) = 0;
62 
71  virtual std::vector<SegmentString*>* getNodedSubstrings() const = 0;
72 
73  virtual
74  ~Noder() {}
75 
76 protected:
77  Noder() {}
78 };
79 
80 } // namespace geos.noding
81 } // namespace geos
82 
83 //#ifdef GEOS_INLINE
84 //# include "geos/noding/Noder.inl"
85 //#endif
86 
87 #endif // GEOS_NODING_NODER_H
88 
#define GEOS_DLL
Definition: export.h:28
virtual ~Noder()
Definition: Noder.h:74
Basic namespace for all GEOS functionalities.
Computes all intersections between segments in a set of SegmentString.
Definition: Noder.h:49