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

◆ gserialized2_get_geometry_p()

static uint8_t * gserialized2_get_geometry_p ( const GSERIALIZED g)
inlinestatic

Definition at line 106 of file gserialized2.c.

107{
108 uint32_t extra_data_bytes = 0;
110 extra_data_bytes += sizeof(uint64_t);
111
113 extra_data_bytes += gserialized2_box_size(g);
114
115 return ((uint8_t *)g->data) + extra_data_bytes;
116}
static size_t gserialized2_box_size(const GSERIALIZED *g)
int gserialized2_has_extended(const GSERIALIZED *g)
Check if a GSERIALIZED has an extended flags section.
int gserialized2_has_bbox(const GSERIALIZED *g)
Check if a GSERIALIZED has a bounding box without deserializing first.
uint8_t data[1]
Definition liblwgeom.h:447

References GSERIALIZED::data, gserialized2_box_size(), gserialized2_has_bbox(), and gserialized2_has_extended().

Referenced by gserialized2_get_type(), gserialized2_is_empty(), gserialized2_peek_first_point(), and gserialized2_peek_gbox_p().

Here is the call graph for this function:
Here is the caller graph for this function: