PostGIS  2.2.8dev-r@@SVN_REVISION@@
cu_geos_cluster.c File Reference
#include "CUnit/Basic.h"
#include "../lwgeom_log.h"
#include "../lwgeom_geos.h"
#include "cu_tester.h"
Include dependency graph for cu_geos_cluster.c:

Go to the source code of this file.

Functions

static void assert_all_results_found (LWGEOM **results, size_t num_outputs, LWGEOM **expected, size_t num_expected_outputs)
 
static GEOSGeometry ** LWGEOMARRAY2GEOS (LWGEOM **lw_array, size_t num_geoms)
 
static LWGEOM ** GEOSARRAY2LWGEOM (GEOSGeometry **geos_array, size_t num_geoms)
 
static LWGEOM ** WKTARRAY2LWGEOM (char **wkt_array, size_t num_geoms)
 
static void perform_cluster_intersecting_test (char **wkt_inputs, uint32_t num_inputs, char **wkt_outputs, uint32_t num_outputs)
 
static void perform_cluster_within_distance_test (double tolerance, char **wkt_inputs, uint32_t num_inputs, char **wkt_outputs, uint32_t num_outputs)
 
static int init_geos_cluster_suite (void)
 
static int clean_geos_cluster_suite (void)
 
static void basic_test (void)
 
static void basic_distance_test (void)
 
static void nonsequential_test (void)
 
static void single_input_test (void)
 
static void empty_inputs_test (void)
 
static void multipoint_test (void)
 
void geos_cluster_suite_setup (void)