PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ dbscan_test_3612c()

static void dbscan_test_3612c ( void  )
static

Definition at line 353 of file cu_geos_cluster.c.

354{
355 struct dbscan_test_info test;
356 char* wkt_inputs[] = { "POLYGONM((-71.1319 42.2503 1,-71.132 42.2502 3,-71.1323 42.2504 -2,-71.1322 42.2505 1,-71.1319 42.2503 0))",
357 "POLYGONM((-71.1319 42.2512 0,-71.1318 42.2511 20,-71.1317 42.2511 -20,-71.1317 42.251 5,-71.1317 42.2509 4,-71.132 42.2511 6,-71.1319 42.2512 30))" };
358 test.eps = 20.1;
359 test.min_points = 5;
360 uint32_t expected_ids[] = { rand(), rand() };
361 int expected_in_cluster[] = { 0, 0 };
362 test.num_geoms = sizeof(wkt_inputs) / sizeof(char*);
363
364 test.expected_ids = expected_ids;
365 test.expected_in_cluster = expected_in_cluster;
366 test.wkt_inputs = wkt_inputs;
367 do_dbscan_test(test);
368}
static void do_dbscan_test(struct dbscan_test_info test)
uint32_t * expected_ids

References do_dbscan_test(), dbscan_test_info::eps, dbscan_test_info::expected_ids, dbscan_test_info::expected_in_cluster, dbscan_test_info::min_points, dbscan_test_info::num_geoms, and dbscan_test_info::wkt_inputs.

Referenced by geos_cluster_suite_setup().

Here is the call graph for this function:
Here is the caller graph for this function: