PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ ptarray_remove_repeated_points_minpoints()

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

Definition at line 1438 of file ptarray.c.

1439 {
1440  POINTARRAY *out = ptarray_clone_deep(in);
1441  ptarray_remove_repeated_points_in_place(out, tolerance, minpoints);
1442  return out;
1443 }
POINTARRAY * ptarray_clone_deep(const POINTARRAY *in)
Deep clone a pointarray (also clones serialized pointlist)
Definition: ptarray.c:628
void ptarray_remove_repeated_points_in_place(POINTARRAY *pa, double tolerance, uint32_t min_points)
Definition: ptarray.c:1453

References ptarray_clone_deep(), and ptarray_remove_repeated_points_in_place().

Referenced by ptarray_remove_repeated_points().

Here is the call graph for this function:
Here is the caller graph for this function: