438 }
while ( changed && iterations <= maxiterations );
440 LWDEBUGF(1,
"It took %d/%d iterations to properly snap",
441 iterations, maxiterations);
void lwgeom_free(LWGEOM *geom)
LWGEOM * lwgeom_snap(const LWGEOM *geom1, const LWGEOM *geom2, double tolerance)
Snap vertices and segments of a geometry to another using a given tolerance.
uint32_t lwgeom_count_vertices(const LWGEOM *geom)
Count the total number of vertices in any LWGEOM.
#define LWDEBUGF(level, msg,...)