19#ifndef GEOS_IDX_CHAIN_MONOTONECHAINBUILDER_H
20#define GEOS_IDX_CHAIN_MONOTONECHAINBUILDER_H
22#include <geos/export.h>
48class GEOS_DLL MonotoneChainBuilder {
52 MonotoneChainBuilder(){}
70 std::vector<MonotoneChain*>& mcList);
85 std::vector<std::size_t>& startIndexList);
The internal representation of a list of coordinates inside a Geometry.
Definition CoordinateSequence.h:59
static void getChainStartIndices(const geom::CoordinateSequence &pts, std::vector< std::size_t > &startIndexList)
Fill the given vector with start/end indexes of the monotone chains for the given CoordinateSequence....
static std::vector< MonotoneChain * > * getChains(const geom::CoordinateSequence *pts, void *context)
Return a newly-allocated vector of newly-allocated MonotoneChain objects for the given CoordinateSequ...
static void getChains(const geom::CoordinateSequence *pts, void *context, std::vector< MonotoneChain * > &mcList)
Fill the provided vector with newly-allocated MonotoneChain objects for the given CoordinateSequence....
Monotone Chains are a way of partitioning the segments of a linestring to allow for fast searching of...
Definition index/chain/MonotoneChain.h:86
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
Contains classes that implement Monotone Chains.
Definition MCPointInRing.h:41
Provides classes for various kinds of spatial indexes.
Definition IndexedNestedRingTester.h:31
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25