Definition at line 1175 of file lwstroke.c.
1176{
1178 uint32_t i, hascurve = 0;
1179
1180 LWDEBUG(2,
"lwmline_unstroke called.");
1181
1183 for (i=0; i<mline->
ngeoms; i++)
1184 {
1187 {
1188 hascurve = 1;
1189 }
1190 }
1191 if (hascurve == 0)
1192 {
1193 for (i=0; i<mline->
ngeoms; i++)
1194 {
1196 }
1198 }
1200}
LWCOLLECTION * lwcollection_construct(uint8_t type, int32_t srid, GBOX *bbox, uint32_t ngeoms, LWGEOM **geoms)
void * lwalloc(size_t size)
LWGEOM * lwgeom_clone_deep(const LWGEOM *lwgeom)
Deep clone an LWGEOM, everything is copied.
#define LWDEBUG(level, msg)
LWGEOM * lwline_unstroke(const LWLINE *line)
References CIRCSTRINGTYPE, COMPOUNDTYPE, LWMLINE::geoms, lwalloc(), lwcollection_construct(), LWDEBUG, lwfree(), lwgeom_clone_deep(), lwline_unstroke(), MULTICURVETYPE, LWMLINE::ngeoms, and LWMLINE::srid.
Referenced by lwgeom_unstroke().