PostGIS  2.5.0dev-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.

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().

41 {
42  return FLAGS_GET_BBOX(gser->flags);
43 }
#define FLAGS_GET_BBOX(flags)
Definition: liblwgeom.h:141
uint8_t flags
Definition: liblwgeom.h:385
Here is the caller graph for this function: