PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ itree_num_nodes_multipolygon()

static uint32_t itree_num_nodes_multipolygon ( const LWMPOLY mpoly)
static

Definition at line 81 of file intervaltree.c.

82 {
83  uint32_t num_nodes = 0;
84  for (uint32_t i = 0; i < mpoly->ngeoms; i++)
85  {
86  const LWPOLY *poly = mpoly->geoms[i];
87  num_nodes += itree_num_nodes_polygon(poly);
88  }
89  return num_nodes;
90 }
static uint32_t itree_num_nodes_polygon(const LWPOLY *poly)
Definition: intervaltree.c:69
uint32_t ngeoms
Definition: liblwgeom.h:566
LWPOLY ** geoms
Definition: liblwgeom.h:561

References LWMPOLY::geoms, itree_num_nodes_polygon(), and LWMPOLY::ngeoms.

Referenced by itree_from_multipolygon().

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