19 #ifndef GEOS_IDX_CHAIN_MONOTONECHAINBUILDER_H
20 #define GEOS_IDX_CHAIN_MONOTONECHAINBUILDER_H
22 #include <geos/export.h>
30 class CoordinateSequence;
59 static std::unique_ptr<std::vector<std::unique_ptr<MonotoneChain>>>
getChains(
73 std::vector<std::unique_ptr<MonotoneChain>>& mcList);
75 static std::unique_ptr<std::vector<std::unique_ptr<MonotoneChain>>>
78 return getChains(pts,
nullptr);
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:58
Constructs MonotoneChains for sequences of Coordinates.
Definition: MonotoneChainBuilder.h:49
static void getChains(const geom::CoordinateSequence *pts, void *context, std::vector< std::unique_ptr< MonotoneChain >> &mcList)
Computes a list of the MonotoneChains for a list of coordinates, attaching a context data object to e...
MonotoneChainBuilder(const MonotoneChainBuilder &)=delete
static std::unique_ptr< std::vector< std::unique_ptr< MonotoneChain > > > getChains(const geom::CoordinateSequence *pts, void *context)
Return a newly-allocated vector of newly-allocated MonotoneChain objects for the given CoordinateSequ...
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26