PostGIS  2.5.0dev-r@@SVN_REVISION@@
void lwline_setPoint4d ( LWLINE line,
uint32_t  index,
POINT4D newpoint 

Definition at line 373 of file lwline.c.

References LWLINE::bbox, lwgeom_refresh_bbox(), LWLINE::points, and ptarray_set_point4d().

Referenced by _lwt_AddLineEdge(), and LWGEOM_setpoint_linestring().

374 {
375  ptarray_set_point4d(line->points, index, newpoint);
376  /* Update the box, if there is one to update */
377  if ( line->bbox )
378  {
379  lwgeom_refresh_bbox((LWGEOM*)line);
380  }
381 }
void lwgeom_refresh_bbox(LWGEOM *lwgeom)
Drop current bbox and calculate a fresh one.
Definition: lwgeom.c:691
GBOX * bbox
Definition: liblwgeom.h:419
void ptarray_set_point4d(POINTARRAY *pa, uint32_t n, const POINT4D *p4d)
Definition: lwgeom_api.c:428
Definition: liblwgeom.h:421

Here is the call graph for this function:

Here is the caller graph for this function: