PostGIS  2.5.0dev-r@@SVN_REVISION@@

◆ lwgeom_refresh_bbox()

void lwgeom_refresh_bbox ( LWGEOM lwgeom)

Drop current bbox and calculate a fresh one.

Definition at line 698 of file lwgeom.c.

References lwgeom_add_bbox(), and lwgeom_drop_bbox().

Referenced by geometry_from_geography(), LWGEOM_affine(), lwgeom_swap_ordinates(), lwline_add_lwpoint(), lwline_clip_to_ordinate_range(), lwline_setPoint4d(), lwmline_clip_to_ordinate_range(), lwmpoint_clip_to_ordinate_range(), lwpoint_clip_to_ordinate_range(), transform(), and transform_geom().

699 {
700  lwgeom_drop_bbox(lwgeom);
701  lwgeom_add_bbox(lwgeom);
702 }
void lwgeom_drop_bbox(LWGEOM *lwgeom)
Call this function to drop BBOX and SRID from LWGEOM.
Definition: lwgeom.c:673
void lwgeom_add_bbox(LWGEOM *lwgeom)
Ensure there's a box in the LWGEOM.
Definition: lwgeom.c:686
Here is the call graph for this function:
Here is the caller graph for this function: