Definition at line 1158 of file lwstroke.c.
1159{
1161 uint32_t i, hascurve = 0;
1162
1163 LWDEBUG(2,
"lwpolygon_unstroke called.");
1164
1166 for (i=0; i<poly->
nrings; i++)
1167 {
1170 {
1171 hascurve = 1;
1172 }
1173 }
1174 if (hascurve == 0)
1175 {
1176 for (i=0; i<poly->
nrings; i++)
1177 {
1179 }
1181 }
1182
1184}
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 * pta_unstroke(const POINTARRAY *points, int32_t srid)
References CIRCSTRINGTYPE, COMPOUNDTYPE, CURVEPOLYTYPE, lwalloc(), lwcollection_construct(), LWDEBUG, lwfree(), lwgeom_clone_deep(), LWPOLY::nrings, pta_unstroke(), LWPOLY::rings, and LWPOLY::srid.
Referenced by lwgeom_unstroke(), and lwmpolygon_unstroke().