PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ unroll_collections()

static void unroll_collections ( LWPOINTITERATOR s)
static

Unroll LWCOLLECTIONs from the top of the stack, as necessary, until the element at the top of the stack is not a LWCOLLECTION.

Definition at line 143 of file lwiterator.c.

144{
145 while(s->geoms && lwgeom_is_collection(s->geoms->item))
146 {
148 }
149}
char * s
Definition cu_in_wkt.c:23
int lwgeom_is_collection(const LWGEOM *lwgeom)
Determine whether a LWGEOM contains sub-geometries or not This basically just checks that the struct ...
Definition lwgeom.c:1125
static void unroll_collection(LWPOINTITERATOR *s)
Remove an LWCOLLECTION from the iterator stack, and add the components of the LWCOLLECTIONs to the st...
Definition lwiterator.c:118

References lwgeom_is_collection(), s, and unroll_collection().

Referenced by lwpointiterator_advance().

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