Definition at line 1146 of file lwstroke.c.
1147{
1149 uint32_t i, hascurve = 0;
1150
1151 LWDEBUG(2,
"lwpolygon_unstroke called.");
1152
1154 for (i=0; i<poly->
nrings; i++)
1155 {
1158 {
1159 hascurve = 1;
1160 }
1161 }
1162 if (hascurve == 0)
1163 {
1164 for (i=0; i<poly->
nrings; i++)
1165 {
1167 }
1169 }
1170
1172}
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().