GEOS 3.6.2
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 {
27 namespace noding {
28 class SegmentString;
29 }
30}
31
32namespace geos {
33namespace noding { // geos.noding
34
35
49class GEOS_DLL Noder {
50public:
59 virtual void computeNodes(std::vector<SegmentString*>* segStrings)=0;
60
68 virtual std::vector<SegmentString*>* getNodedSubstrings() const=0;
69
70 virtual ~Noder() {}
71
72protected:
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
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...
An interface for classes which represent a sequence of contiguous line segments.
Definition SegmentString.h:46
Classes to compute nodings for arrangements of line segments and line segment sequences.
Definition PreparedLineString.h:27
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25