PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ gserialized1_has_bbox()

int gserialized1_has_bbox ( const GSERIALIZED gser)

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

Definition at line 89 of file gserialized1.c.

90 {
91  return G1FLAGS_GET_BBOX(gser->gflags);
92 }
#define G1FLAGS_GET_BBOX(gflags)
Definition: gserialized1.h:18
uint8_t gflags
Definition: liblwgeom.h:432

References G1FLAGS_GET_BBOX, and GSERIALIZED::gflags.

Referenced by gserialized1_header_size(), gserialized1_is_empty(), gserialized1_peek_first_point(), gserialized_has_bbox(), test_gserialized1_peek_gbox_p_fails_for_unsupported_cases(), test_gserialized1_peek_gbox_p_gets_correct_box(), and test_gserialized1_peek_gbox_p_no_box_when_empty().

Here is the caller graph for this function: