PostGIS 3.0.6dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ gserialized_fast_gbox_p()

int gserialized_fast_gbox_p ( const GSERIALIZED g,
GBOX box 
)

Read the box from the GSERIALIZED or return #LWFAILURE if box is unavailable.

Pull a GBOX from the header of a GSERIALIZED, if one is available.

If it is not, return LW_FAILURE.

Pull a GBOX from the header of a GSERIALIZED, if one is available.

If it is not, return LW_FAILURE.

Definition at line 77 of file gserialized.c.

78{
80 return gserialized2_fast_gbox_p(g, gbox);
81 else
82 return gserialized1_fast_gbox_p(g, gbox);
83}
int gserialized1_fast_gbox_p(const GSERIALIZED *g, GBOX *box)
Read the bounding box off a serialization and fail if it is not already there.
int gserialized2_fast_gbox_p(const GSERIALIZED *g, GBOX *box)
Read the bounding box off a serialization and fail if it is not already there.
#define GFLAGS_GET_VERSION(gflags)
Definition gserialized.c:12
uint8_t gflags
Definition liblwgeom.h:432