Definition at line 1203 of file lwstroke.c.
1204{
1206 uint32_t i, hascurve = 0;
1207
1208 LWDEBUG(2,
"lwmpoly_unstroke called.");
1209
1211 for (i=0; i<mpoly->
ngeoms; i++)
1212 {
1215 {
1216 hascurve = 1;
1217 }
1218 }
1219 if (hascurve == 0)
1220 {
1221 for (i=0; i<mpoly->
ngeoms; i++)
1222 {
1224 }
1226 }
1228}
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 * lwpolygon_unstroke(const LWPOLY *poly)
References CURVEPOLYTYPE, LWMPOLY::geoms, lwalloc(), lwcollection_construct(), LWDEBUG, lwfree(), lwgeom_clone_deep(), lwpolygon_unstroke(), MULTISURFACETYPE, LWMPOLY::ngeoms, and LWMPOLY::srid.
Referenced by lwgeom_unstroke().