PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ gserialized_drop_gbox()

GSERIALIZED* gserialized_drop_gbox ( GSERIALIZED g)

Remove the bounding box from a GSERIALIZED.

Returns a freshly allocated GSERIALIZED every time.

Definition at line 52 of file gserialized.c.

53 {
54  if (GFLAGS_GET_VERSION(g->gflags))
55  return gserialized2_drop_gbox(g);
56  else
57  return gserialized1_drop_gbox(g);
58 }
GSERIALIZED * gserialized1_drop_gbox(GSERIALIZED *g)
Remove the bounding box from a GSERIALIZED.
GSERIALIZED * gserialized2_drop_gbox(GSERIALIZED *g)
Remove the bounding box from a GSERIALIZED.
#define GFLAGS_GET_VERSION(gflags)
Definition: gserialized.c:12
uint8_t gflags
Definition: liblwgeom.h:432

References GSERIALIZED::gflags, GFLAGS_GET_VERSION, gserialized1_drop_gbox(), and gserialized2_drop_gbox().

Referenced by LWGEOM_dropBBOX().

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