PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ ptarray_remove_repeated_points_minpoints()

POINTARRAY* ptarray_remove_repeated_points_minpoints ( const POINTARRAY in,
double  tolerance,
int  minpoints 

Definition at line 1538 of file ptarray.c.

References ptarray_clone_deep(), and ptarray_remove_repeated_points_in_place().

Referenced by lwline_remove_repeated_points(), lwpoly_remove_repeated_points(), and ptarray_remove_repeated_points().

1539 {
1540  POINTARRAY *out = ptarray_clone_deep(in);
1541  ptarray_remove_repeated_points_in_place(out, tolerance, minpoints);
1542  return out;
1543 }
POINTARRAY * ptarray_clone_deep(const POINTARRAY *in)
Deep clone a pointarray (also clones serialized pointlist)
Definition: ptarray.c:630
static void ptarray_remove_repeated_points_in_place(POINTARRAY *pa, double tolerance, uint32_t min_points)
Definition: ptarray.c:1468
Here is the call graph for this function:
Here is the caller graph for this function: