Definition at line 1215 of file lwstroke.c.
1216{
1218 uint32_t i, hascurve = 0;
1219
1220 LWDEBUG(2,
"lwmpoly_unstroke called.");
1221
1223 for (i=0; i<mpoly->
ngeoms; i++)
1224 {
1227 {
1228 hascurve = 1;
1229 }
1230 }
1231 if (hascurve == 0)
1232 {
1233 for (i=0; i<mpoly->
ngeoms; i++)
1234 {
1236 }
1238 }
1240}
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().