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

◆ gserialized_set_gbox()

GSERIALIZED * gserialized_set_gbox ( GSERIALIZED g,
GBOX gbox 
)

Copy a new bounding box into an existing gserialized.

If necessary a new GSERIALIZED will be allocated. Test that input != output before freeing input.

Definition at line 60 of file gserialized.c.

61{
63 return gserialized2_set_gbox(g, gbox);
64 else
65 return gserialized1_set_gbox(g, gbox);
66}
GSERIALIZED * gserialized1_set_gbox(GSERIALIZED *g, GBOX *gbox)
Update the bounding box of a GSERIALIZED, allocating a fresh one if there is not enough space to just...
GSERIALIZED * gserialized2_set_gbox(GSERIALIZED *g, GBOX *gbox)
Update the bounding box of a GSERIALIZED, allocating a fresh one if there is not enough space to just...
#define GFLAGS_GET_VERSION(gflags)
Definition gserialized.c:41
uint8_t gflags
Definition liblwgeom.h:446