PostGIS  2.3.7dev-r@@SVN_REVISION@@
static int lwgeom_ngeoms ( const LWGEOM n)
static

Definition at line 33 of file lwgeom_geos_node.c.

References lwgeom_as_lwcollection(), and LWCOLLECTION::ngeoms.

Referenced by lwgeom_collect_endpoints(), and lwgeom_node().

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

Here is the call graph for this function:

Here is the caller graph for this function: