20#include <geos/export.h>
21#include <geos/index/strtree/TemplateSTRtree.h>
22#include <geos/operation/cluster/Clusters.h>
54 Clusters
cluster(
const std::vector<const geom::Geometry*>& g);
65 std::vector<std::unique_ptr<geom::Geometry>>
clusterToVector(std::unique_ptr<geom::Geometry> && g);
120 virtual Clusters
process(
const std::vector<const geom::Geometry*> & components,
121 index::strtree::TemplateSTRtree<std::size_t> & index,
125 static std::vector<std::unique_ptr<geom::Geometry>> getComponents(std::unique_ptr<geom::Geometry>&& g);
An Envelope defines a rectangulare region of the 2D coordinate plane.
Definition Envelope.h:59
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:197
Definition AbstractClusterFinder.h:45
virtual Clusters process(const std::vector< const geom::Geometry * > &components, index::strtree::TemplateSTRtree< std::size_t > &index, UnionFind &uf)
std::vector< std::unique_ptr< geom::Geometry > > clusterToVector(const geom::Geometry &g)
virtual bool shouldJoin(const geom::Geometry *a, const geom::Geometry *b)=0
std::unique_ptr< geom::Geometry > clusterToCollection(std::unique_ptr< geom::Geometry > &&g)
virtual const geom::Envelope & queryEnvelope(const geom::Geometry *a)=0
Clusters cluster(const std::vector< const geom::Geometry * > &g)
std::unique_ptr< geom::Geometry > clusterToCollection(const geom::Geometry &g)
std::vector< std::unique_ptr< geom::Geometry > > clusterToVector(std::unique_ptr< geom::Geometry > &&g)
Definition UnionFind.h:32
Basic namespace for all GEOS functionalities.
Definition geos.h:39