PostGIS  3.7.0dev-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 1524 of file ptarray.c.

1525 {
1526  POINTARRAY *out = ptarray_clone_deep(in);
1527  ptarray_remove_repeated_points_in_place(out, tolerance, minpoints);
1528  return out;
1529 }
POINTARRAY * ptarray_clone_deep(const POINTARRAY *in)
Deep clone a pointarray (also clones serialized pointlist)
Definition: ptarray.c:643
void ptarray_remove_repeated_points_in_place(POINTARRAY *pa, double tolerance, uint32_t min_points)
Definition: ptarray.c:1539

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: