19 #ifndef GEOS_IDX_CHAIN_MONOTONECHAINBUILDER_H
20 #define GEOS_IDX_CHAIN_MONOTONECHAINBUILDER_H
22 #include <geos/export.h>
29 class CoordinateSequence;
70 std::vector<MonotoneChain*>& mcList);
74 return getChains(pts,
nullptr);
85 std::vector<std::size_t>& startIndexList);
108 #endif // GEOS_IDX_CHAIN_MONOTONECHAINBUILDER_H
Constructs MonotoneChains for sequences of Coordinates.
Definition: MonotoneChainBuilder.h:48
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:59
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 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 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....