PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ lwcircstring_removepoint()

LWCIRCSTRING * lwcircstring_removepoint ( LWCIRCSTRING curve,
uint32_t  index 
)

Definition at line 234 of file lwcircstring.c.

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}
POINTARRAY * ptarray_removePoint(POINTARRAY *pa, uint32_t where)
Remove a point from a pointarray.
Definition ptarray.c:582
LWCIRCSTRING * lwcircstring_construct(int32_t srid, GBOX *bbox, POINTARRAY *points)
int32_t srid
Definition liblwgeom.h:508
POINTARRAY * points
Definition liblwgeom.h:507

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

Here is the call graph for this function: