20#ifndef GEOS_NODING_MCINDEXSEGMENTSETMUTUALINTERSECTOR_H
21#define GEOS_NODING_MCINDEXSEGMENTSETMUTUALINTERSECTOR_H
23#include <geos/noding/SegmentSetMutualIntersector.h>
24#include <geos/index/chain/MonotoneChainOverlapAction.h>
54class MCIndexSegmentSetMutualIntersector :
public SegmentSetMutualIntersector
58 MCIndexSegmentSetMutualIntersector();
60 ~MCIndexSegmentSetMutualIntersector();
66 std::vector<index::chain::MonotoneChain *>& getMonotoneChains()
79 void process(SegmentString::ConstVect* segStrings);
87 SegmentOverlapAction(
const SegmentOverlapAction& other);
88 SegmentOverlapAction& operator=(
const SegmentOverlapAction& rhs);
92 index::chain::MonotoneChainOverlapAction(), si(si)
101 typedef std::vector<index::chain::MonotoneChain *> MonoChains;
102 MonoChains monoChains;
118 MonoChains chainStore;
120 void addToIndex( SegmentString * segStr);
122 void intersectChains();
124 void addToMonoChains( SegmentString * segStr);
Abstract class defines basic insertion and query operations supported by classes implementing spatial...
Definition SpatialIndex.h:47
Definition MonotoneChainOverlapAction.h:44
Monotone Chains are a way of partitioning the segments of a linestring to allow for fast searching of...
Definition index/chain/MonotoneChain.h:86
void process(SegmentString::ConstVect *segStrings)
void setBaseSegments(SegmentString::ConstVect *segStrings)
Processes possible intersections detected by a Noder.
Definition noding/SegmentIntersector.h:47
An interface for classes which represent a sequence of contiguous line segments.
Definition SegmentString.h:46
Contains classes that implement Monotone Chains.
Definition MCPointInRing.h:41
Contains 2-D and 1-D versions of the Sort-Tile-Recursive (STR) tree, a query-only R-tree.
Definition SIRtreePointInRing.h:32
Provides classes for various kinds of spatial indexes.
Definition IndexedNestedRingTester.h:31
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