PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
int cluster_intersecting | ( | GEOSGeometry ** | geoms, |
uint32_t | num_geoms, | ||
GEOSGeometry *** | clusterGeoms, | ||
uint32_t * | num_clusters | ||
) |
Takes an array of GEOSGeometry* and constructs an array of GEOSGeometry*, where each element in the constructed array is a GeometryCollection representing a set of interconnected geometries.
Caller is responsible for freeing the input array, but not for destroying the GEOSGeometry* items inside it.
Definition at line 247 of file lwgeom_geos_cluster.c.
References combine_geometries(), LW_FAILURE, UF_create(), UF_destroy(), and union_intersecting_pairs().
Referenced by clusterintersecting_garray(), and perform_cluster_intersecting_test().