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

◆ LWGEOMARRAY2GEOS()

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

Definition at line 41 of file cu_geos_cluster.c.

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

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: