PostGIS  2.5.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 1431 of file ptarray.c.

References ptarray_clone_deep(), and ptarray_remove_repeated_points_in_place().

Referenced by ptarray_remove_repeated_points().

1432 {
1433  POINTARRAY *out = ptarray_clone_deep(in);
1434  ptarray_remove_repeated_points_in_place(out, tolerance, minpoints);
1435  return out;
1436 }
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:1446
Here is the call graph for this function:
Here is the caller graph for this function: