17#include <geos/index/chain/MonotoneChain.h>
18#include <geos/index/strtree/TemplateSTRtree.h>
37class GEOS_DLL SegmentMCIndex {
41 strtree::TemplateSTRtree<const index::chain::MonotoneChain*> index;
42 std::vector<chain::MonotoneChain> segChains;
44 void buildIndex(
const CoordinateSequence* segs);
48 SegmentMCIndex(
const CoordinateSequence* segs);
50 void query(
const Envelope* env, chain::MonotoneChainSelectAction& action);
The internal representation of a list of coordinates inside a Geometry.
Definition CoordinateSequence.h:56
An Envelope defines a rectangulare region of the 2D coordinate plane.
Definition Envelope.h:59
Provides classes for various kinds of spatial indexes.
Definition DiscreteFrechetDistance.h:50
Provides classes for computing buffers of geometries.
Definition namespaces.h:182
Provides classes for implementing operations on geometries.
Definition namespaces.h:179
Basic namespace for all GEOS functionalities.
Definition geos.h:39