PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ gserialized_has_bbox()

int gserialized_has_bbox ( const GSERIALIZED gser)

Check if a GSERIALIZED has a bounding box without deserializing first.

Definition at line 163 of file gserialized.c.

164 {
165  if (GFLAGS_GET_VERSION(g->gflags))
166  return gserialized2_has_bbox(g);
167  else
168  return gserialized1_has_bbox(g);
169 }
int gserialized1_has_bbox(const GSERIALIZED *gser)
Check if a GSERIALIZED has a bounding box without deserializing first.
Definition: gserialized1.c:89
int gserialized2_has_bbox(const GSERIALIZED *g)
Check if a GSERIALIZED has a bounding box without deserializing first.
Definition: gserialized2.c:146
#define GFLAGS_GET_VERSION(gflags)
Definition: gserialized.c:12