19 #ifndef GEOS_NODING_MCINDEXNODER_H
20 #define GEOS_NODING_MCINDEXNODER_H
22 #include <geos/export.h>
24 #include <geos/inline.h>
26 #include <geos/index/chain/MonotoneChainOverlapAction.h>
27 #include <geos/noding/SinglePassNoder.h>
28 #include <geos/index/strtree/STRtree.h>
29 #include <geos/util.h>
36 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class
46 class SegmentIntersector;
66 std::vector<index::chain::MonotoneChain*> monoChains;
69 std::vector<SegmentString*>* nodedSegStrings;
73 void intersectChains();
83 nodedSegStrings(NULL),
94 std::vector<SegmentString*>* getNodedSubstrings()
const;
96 void computeNodes(std::vector<SegmentString*>* inputSegmentStrings);
102 index::chain::MonotoneChainOverlapAction(),
109 SegmentIntersector& si;
112 SegmentOverlapAction(
const SegmentOverlapAction& other);
113 SegmentOverlapAction& operator=(
const SegmentOverlapAction& rhs);
126 # include <geos/noding/MCIndexNoder.inl>
129 #endif // GEOS_NODING_MCINDEXNODER_H
An interface for classes which represent a sequence of contiguous line segments.
Definition: SegmentString.h:46
A query-only R-tree created using the Sort-Tile-Recursive (STR) algorithm. For two-dimensional spatia...
Definition: STRtree.h:62
Definition: MonotoneChainOverlapAction.h:44
Abstract class defines basic insertion and query operations supported by classes implementing spatial...
Definition: SpatialIndex.h:47
Definition: SinglePassNoder.h:50
Processes possible intersections detected by a Noder.
Definition: noding/SegmentIntersector.h:47
Monotone Chains are a way of partitioning the segments of a linestring to allow for fast searching of...
Definition: index/chain/MonotoneChain.h:85
Nodes a set of SegmentString using a index based on index::chain::MonotoneChain and a index::SpatialI...
Definition: MCIndexNoder.h:63
std::vector< index::chain::MonotoneChain * > & getMonotoneChains()
Return a reference to this instance's std::vector of MonotoneChains.
Definition: MCIndexNoder.h:90