PostGIS  2.5.7dev-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 40 of file g_serialized.c.

41 {
42  return FLAGS_GET_BBOX(gser->flags);
43 }
#define FLAGS_GET_BBOX(flags)
Definition: liblwgeom.h:142
uint8_t flags
Definition: liblwgeom.h:386

References GSERIALIZED::flags, and FLAGS_GET_BBOX.

Referenced by gserialized_header_size(), LWGEOM_dropBBOX(), LWGEOM_force_collection(), LWGEOM_force_multi(), LWGEOM_hasBBOX(), test_gserialized_peek_gbox_p_fails_for_unsupported_cases(), test_gserialized_peek_gbox_p_gets_correct_box(), and test_gserialized_peek_gbox_p_no_box_when_empty().

Here is the caller graph for this function: