17#include <geos/noding/SegmentSetMutualIntersector.h>
18#include <geos/index/chain/MonotoneChainOverlapAction.h>
19#include <geos/index/chain/MonotoneChain.h>
20#include <geos/index/strtree/TemplateSTRtree.h>
31 class SegmentIntersector;
55 , overlapTolerance(p_tolerance)
65 , overlapTolerance(0.0)
67 , envelope(p_envelope)
86 void process(SegmentString::ConstVect* segStrings)
override;
93 SegmentOverlapAction(
const SegmentOverlapAction& other) =
delete;
94 SegmentOverlapAction& operator=(
const SegmentOverlapAction& rhs) =
delete;
98 index::chain::MonotoneChainOverlapAction(), si(p_si)
114 typedef std::vector<index::chain::MonotoneChain> MonoChains;
115 MonoChains monoChains;
122 index::strtree::TemplateSTRtree<const index::chain::MonotoneChain*> index;
127 double overlapTolerance;
133 MonoChains indexChains;
138 void intersectChains();
An Envelope defines a rectangulare region of the 2D coordinate plane.
Definition Envelope.h:59
Abstract class defines basic insertion and query operations supported by classes implementing spatial...
Definition SpatialIndex.h:46
The action for the internal iterator for performing overlap queries on a MonotoneChain.
Definition MonotoneChainOverlapAction.h:42
Monotone Chains are a way of partitioning the segments of a linestring to allow for fast searching of...
Definition index/chain/MonotoneChain.h:85
Intersects two sets of SegmentStrings using a index based on MonotoneChains and a SpatialIndex.
Definition MCIndexSegmentSetMutualIntersector.h:47
MCIndexSegmentSetMutualIntersector(const MCIndexSegmentSetMutualIntersector &)=delete
void setBaseSegments(SegmentString::ConstVect *segStrings) override
void process(SegmentString::ConstVect *segStrings) override
Processes possible intersections detected by a Noder.
Definition noding/SegmentIntersector.h:45
An intersector for the red-blue intersection problem.
Definition SegmentSetMutualIntersector.h:36
An interface for classes which represent a sequence of contiguous line segments.
Definition SegmentString.h:47
Basic namespace for all GEOS functionalities.
Definition geos.h:39