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

◆ GEOSARRAY2LWGEOM()

static LWGEOM ** GEOSARRAY2LWGEOM ( GEOSGeometry **  geos_array,
size_t  num_geoms 
)
static

Definition at line 54 of file cu_geos_cluster.c.

55{
56 size_t i;
57 LWGEOM** lw_geoms = lwalloc(num_geoms * sizeof(LWGEOM*));
58
59 for (i = 0; i < num_geoms; i++)
60 {
61 lw_geoms[i] = GEOS2LWGEOM(geos_array[i], 0);
62 }
63
64 return lw_geoms;
65}
void(*) LWGEOM GEOS2LWGEOM)(const GEOSGeometry *geom, uint8_t want3d)
void * lwalloc(size_t size)
Definition lwutil.c:227

References lwalloc().

Referenced by perform_cluster_intersecting_test().

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