GEOS 3.4.2

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

- File List

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 ~Noder() {}
71
72 protected:
73 Noder(){}
74 };
75
76 } // namespace geos.noding
77 } // namespace geos
78
79 //#ifdef GEOS_INLINE
80 //# include "geos/noding/Noder.inl"
81 //#endif
82
83 #endif // GEOS_NODING_NODER_H
84