Definition at line 312 of file lwpoly.c.
318 for (i=0; i<poly->
nrings; i++)
324 for (j = 0; j < i; j++)
void ptarray_free(POINTARRAY *pa)
void * lwalloc(size_t size)
POINTARRAY * ptarray_segmentize2d(const POINTARRAY *ipa, double dist)
Returns a modified POINTARRAY so that no segment is longer than the given distance (computed using 2d...
LWPOLY * lwpoly_construct(int srid, GBOX *bbox, uint32_t nrings, POINTARRAY **points)
References lwalloc(), lwfree(), lwpoly_construct(), LWPOLY::nrings, ptarray_free(), ptarray_segmentize2d(), LWPOLY::rings, and LWPOLY::srid.
Referenced by lwgeom_segmentize2d().