Definition at line 629 of file lwgeom_functions_lrs.c.
635 POSTGIS_DEBUGF(2,
"lwcollection_locate_between_m called for lwcoll %p", lwcoll);
638 for (i=0; i<lwcoll->
ngeoms; i++)
643 geoms[ngeoms++] = sub;
646 if ( ngeoms == 0 )
return NULL;
649 lwcoll->
srid, NULL, ngeoms, geoms);
LWCOLLECTION * lwcollection_construct(uint8_t type, int srid, GBOX *bbox, uint32_t ngeoms, LWGEOM **geoms)
void * lwalloc(size_t size)
static LWGEOM * lwgeom_locate_between_m(LWGEOM *lwin, double m0, double m1)
References COLLECTIONTYPE, LWCOLLECTION::geoms, lwalloc(), lwcollection_construct(), lwgeom_locate_between_m(), LWCOLLECTION::ngeoms, and LWCOLLECTION::srid.
Referenced by lwgeom_locate_between_m().