PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ UF_size()

uint32_t UF_size ( UNIONFIND uf,
uint32_t  i 
)

Definition at line 78 of file lwunionfind.c.

References UNIONFIND::cluster_sizes, and UF_find().

79 {
80  return uf->cluster_sizes[UF_find(uf, i)];
81 }
uint32_t * cluster_sizes
Definition: lwunionfind.h:34
uint32_t UF_find(UNIONFIND *uf, uint32_t i)
Definition: lwunionfind.c:61
Here is the call graph for this function: