82{
83 GEOSGeometry** geos_results;
85 uint32_t num_clusters;
86
90
92 CU_ASSERT_EQUAL(num_outputs, num_clusters);
93
95
97
98
99 uint32_t i;
100 for(i = 0; i < num_clusters; i++)
101 {
102 GEOSGeom_destroy(geos_results[i]);
103 }
106
107 for(i = 0; i < num_outputs; i++)
108 {
111 }
114
115 for(i = 0; i < num_inputs; i++)
116 {
118 }
120}
static GEOSGeometry ** LWGEOMARRAY2GEOS(LWGEOM **lw_array, size_t num_geoms)
static LWGEOM ** GEOSARRAY2LWGEOM(GEOSGeometry **geos_array, size_t num_geoms)
static void assert_all_results_found(LWGEOM **results, size_t num_outputs, LWGEOM **expected, size_t num_expected_outputs)
static LWGEOM ** WKTARRAY2LWGEOM(char **wkt_array, size_t num_geoms)
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 c...
void lwgeom_free(LWGEOM *geom)