PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ GEOSARRAY2LWGEOM()

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

Definition at line 52 of file cu_geos_cluster.c.

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

References GEOS2LWGEOM(), and lwalloc().

Referenced by perform_cluster_intersecting_test().

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