PostGIS 3.7.0dev-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 106 of file gserialized.c.

107{
109 return gserialized2_fast_gbox_p(g, gbox);
110 else
111 return gserialized1_fast_gbox_p(g, gbox);
112}
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:41
uint8_t gflags
Definition liblwgeom.h:446