PostGIS  2.2.7dev-r@@SVN_REVISION@@
LWCIRCSTRING * lwcircstring_removepoint ( LWCIRCSTRING curve,
uint32_t  index 
)

Definition at line 234 of file lwcircstring.c.

References lwcircstring_construct(), LWCIRCSTRING::points, ptarray_removePoint(), and LWCIRCSTRING::srid.

235 {
236  POINTARRAY *newpa;
237  LWCIRCSTRING *ret;
238 
239  newpa = ptarray_removePoint(curve->points, index);
240  ret = lwcircstring_construct(curve->srid, NULL, newpa);
241 
242  return ret;
243 }
int32_t srid
Definition: liblwgeom.h:427
POINTARRAY * points
Definition: liblwgeom.h:428
POINTARRAY * ptarray_removePoint(POINTARRAY *pa, uint32_t where)
Remove a point from a pointarray.
Definition: ptarray.c:562
LWCIRCSTRING * lwcircstring_construct(int srid, GBOX *bbox, POINTARRAY *points)
Definition: lwcircstring.c:38

Here is the call graph for this function: