PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ lwgeom_subgeom()

static const LWGEOM* lwgeom_subgeom ( const LWGEOM g,
int  n 
)
static

Definition at line 41 of file lwgeom_geos_node.c.

42 {
44  if ( c ) return lwcollection_getsubgeom((LWCOLLECTION*)c, n);
45  else return g;
46 }
LWGEOM * lwcollection_getsubgeom(LWCOLLECTION *col, int gnum)
Definition: lwcollection.c:113
LWCOLLECTION * lwgeom_as_lwcollection(const LWGEOM *lwgeom)
Definition: lwgeom.c:224

References lwcollection_getsubgeom(), and lwgeom_as_lwcollection().

Referenced by lwgeom_collect_endpoints(), and lwgeom_node().

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