PostGIS  3.4.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 1520 of file ptarray.c.

1521 {
1522  POINTARRAY *out = ptarray_clone_deep(in);
1523  ptarray_remove_repeated_points_in_place(out, tolerance, minpoints);
1524  return out;
1525 }
POINTARRAY * ptarray_clone_deep(const POINTARRAY *in)
Deep clone a pointarray (also clones serialized pointlist)
Definition: ptarray.c:647
void ptarray_remove_repeated_points_in_place(POINTARRAY *pa, double tolerance, uint32_t min_points)
Definition: ptarray.c:1535

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: