PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ _lwt_FetchAllEdges()

static LWT_ISO_EDGE* _lwt_FetchAllEdges ( LWT_TOPOLOGY topo,
int *  numedges 
)
static

Definition at line 234 of file lwgeom_topo_polygonizer.c.

235 {
236  LWT_ISO_EDGE *edge;
237  int fields = LWT_COL_EDGE_ALL;
238  uint64_t nelems = 1;
239 
240  edge = lwt_be_getEdgeWithinBox2D( topo, NULL, &nelems, fields, 0);
241  *numedges = nelems;
242  if (nelems == UINT64_MAX)
243  {
244  PGTOPO_BE_ERROR();
245  return NULL;
246  }
247  return edge;
248 }
#define LWT_COL_EDGE_ALL
LWT_ISO_EDGE * lwt_be_getEdgeWithinBox2D(const LWT_TOPOLOGY *topo, const GBOX *box, uint64_t *numelems, int fields, uint64_t limit)
Definition: lwgeom_topo.c:173
#define PGTOPO_BE_ERROR()

References lwt_be_getEdgeWithinBox2D(), LWT_COL_EDGE_ALL, and PGTOPO_BE_ERROR.

Referenced by lwt_Polygonize().

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