Definition at line 402 of file lwpoly.c.
References LWPOLY::bbox, gbox_copy(), lwalloc(), lwpoly_construct(), LWPOLY::nrings, ptarray_remove_repeated_points_minpoints(), LWPOLY::rings, and LWPOLY::srid.
Referenced by lwgeom_remove_repeated_points().
408 for (i=0; i<poly->nrings; i++)
414 poly->bbox ?
gbox_copy(poly->bbox) : NULL,
415 poly->nrings, newrings);
GBOX * gbox_copy(const GBOX *box)
Return a copy of the GBOX, based on dimensionality of flags.
LWPOLY * lwpoly_construct(int srid, GBOX *bbox, uint32_t nrings, POINTARRAY **points)
POINTARRAY * ptarray_remove_repeated_points_minpoints(const POINTARRAY *in, double tolerance, int minpoints)
void * lwalloc(size_t size)