PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ lwgeom_refresh_bbox()

void lwgeom_refresh_bbox ( LWGEOM lwgeom)

Drop current bbox and calculate a fresh one.

Definition at line 707 of file lwgeom.c.

708 {
709  lwgeom_drop_bbox(lwgeom);
710  lwgeom_add_bbox(lwgeom);
711 }
void lwgeom_drop_bbox(LWGEOM *lwgeom)
Call this function to drop BBOX and SRID from LWGEOM.
Definition: lwgeom.c:682
void lwgeom_add_bbox(LWGEOM *lwgeom)
Ensure there's a box in the LWGEOM.
Definition: lwgeom.c:695

References lwgeom_add_bbox(), and lwgeom_drop_bbox().

Referenced by geometry_from_geography(), lwcollection_clip_to_ordinate_range(), lwgeom_affine(), LWGEOM_affine(), lwgeom_scale(), LWGEOM_snaptogrid(), LWGEOM_snaptogrid_pointoff(), lwgeom_swap_ordinates(), lwline_add_lwpoint(), lwline_clip_to_ordinate_range(), lwline_setPoint4d(), lwmpoint_clip_to_ordinate_range(), transform(), transform_geom(), and transform_pipeline_geom().

Here is the call graph for this function:
Here is the caller graph for this function: