Merges two multilinestrings into a single multilinestring.
Definition at line 282 of file lwgeom_rtree.c.
288 POSTGIS_DEBUGF(2,
"RTreeMergeMultiLines called on %p, %d, %d; %p, %d, %d", line1, line1->
ngeoms, line1->
type, line2, line2->
ngeoms, line2->
type);
294 for (i = 0; i < line1->
ngeoms; i++, j++)
298 for (i = 0; i < line2->
ngeoms; i++, j++)
304 POSTGIS_DEBUGF(3,
"RTreeMergeMultiLines returning %p, %d, %d", col, col->
ngeoms, col->
type);
LWCOLLECTION * lwcollection_construct(uint8_t type, int srid, GBOX *bbox, uint32_t ngeoms, LWGEOM **geoms)
LWGEOM * lwgeom_clone(const LWGEOM *lwgeom)
Clone LWGEOM object.
void * lwalloc(size_t size)
#define SRID_UNKNOWN
Unknown SRID value.
References LWMLINE::geoms, lwalloc(), lwcollection_construct(), lwgeom_clone(), MULTILINETYPE, LWMLINE::ngeoms, LWCOLLECTION::ngeoms, SRID_UNKNOWN, LWMLINE::type, and LWCOLLECTION::type.
Referenced by RTreeFindLineSegments().