PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ gserialized2_has_bbox()

int gserialized2_has_bbox ( const GSERIALIZED g)

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

Definition at line 146 of file gserialized2.c.

147 {
148  return G2FLAGS_GET_BBOX(g->gflags);
149 }
#define G2FLAGS_GET_BBOX(gflags)
Definition: gserialized2.h:24
uint8_t gflags
Definition: liblwgeom.h:432

References G2FLAGS_GET_BBOX, and GSERIALIZED::gflags.

Referenced by gserialized2_get_geometry_p(), gserialized2_header_size(), gserialized_has_bbox(), test_gserialized2_peek_gbox_p_fails_for_unsupported_cases(), test_gserialized2_peek_gbox_p_gets_correct_box(), and test_gserialized2_peek_gbox_p_no_box_when_empty().

Here is the caller graph for this function: