PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ 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 }
LWGEOM * GEOS2LWGEOM(const GEOSGeometry *geom, uint8_t want3d)
void * lwalloc(size_t size)
Definition: lwutil.c:227

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: