Definition at line 172 of file lwgeom_geos_split.c.
References COLLECTIONTYPE, LWLINE::flags, FLAGS_GET_M, FLAGS_GET_Z, LWMPOINT::geoms, LWMLINE::geoms, lwline_clone_deep(), lwline_free(), lwline_split_by_point_to(), lwmline_add_lwline(), lwmline_construct_empty(), LWMPOINT::ngeoms, LWMLINE::ngeoms, LWLINE::srid, and LWMLINE::type.
Referenced by lwline_split().
182 for (i=0; i<mp->ngeoms; ++i)
184 for (j=0; j<out->
ngeoms; ++j)
186 lwline_in = out->
geoms[j];
void lwline_free(LWLINE *line)
LWMLINE * lwmline_add_lwline(LWMLINE *mobj, const LWLINE *obj)
LWMLINE * lwmline_construct_empty(int srid, char hasz, char hasm)
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
int lwline_split_by_point_to(const LWLINE *lwline_in, const LWPOINT *blade_in, LWMLINE *v)
Split a line by a point and push components to the provided multiline.
#define FLAGS_GET_M(flags)
LWLINE * lwline_clone_deep(const LWLINE *lwgeom)