PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ lwgeom_ngeoms()

static int lwgeom_ngeoms ( const LWGEOM n)
static

Definition at line 33 of file lwgeom_geos_node.c.

34 {
36  if ( c ) return c->ngeoms;
37  else return 1;
38 }
LWCOLLECTION * lwgeom_as_lwcollection(const LWGEOM *lwgeom)
Definition: lwgeom.c:224
uint32_t ngeoms
Definition: liblwgeom.h:510

References lwgeom_as_lwcollection(), and LWCOLLECTION::ngeoms.

Referenced by lwgeom_collect_endpoints(), and lwgeom_node().

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