PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ LWGEOMARRAY2GEOS()

static GEOSGeometry** LWGEOMARRAY2GEOS ( LWGEOM **  lw_array,
size_t  num_geoms 
)
static

Definition at line 39 of file cu_geos_cluster.c.

40 {
41  size_t i;
42  GEOSGeometry** geos_geoms = lwalloc(num_geoms * sizeof(GEOSGeometry*));
43 
44  for (i = 0; i < num_geoms; i++)
45  {
46  geos_geoms[i] = LWGEOM2GEOS(lw_array[i], 0);
47  }
48 
49  return geos_geoms;
50 }
GEOSGeometry * LWGEOM2GEOS(const LWGEOM *lwgeom, uint8_t autofix)
void * lwalloc(size_t size)
Definition: lwutil.c:229

References lwalloc(), and LWGEOM2GEOS().

Referenced by perform_cluster_intersecting_test().

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