GEOS 3.9.1
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
26namespace geos {
27namespace noding {
28class SegmentString;
29}
30}
31
32namespace geos {
33namespace noding { // geos.noding
34
35
49class GEOS_DLL Noder {
50public:
61 virtual void computeNodes(std::vector<SegmentString*>* segStrings) = 0;
62
71 virtual std::vector<SegmentString*>* getNodedSubstrings() const = 0;
72
73 virtual
74 ~Noder() {}
75
76protected:
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
Computes all intersections between segments in a set of SegmentString.
Definition: Noder.h:49
virtual void computeNodes(std::vector< SegmentString * > *segStrings)=0
Computes the noding for a collection of SegmentStrings.
virtual std::vector< SegmentString * > * getNodedSubstrings() const =0
Returns a collection of fully noded SegmentStrings. The SegmentStrings have the same context as their...
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26