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

◆ gserialized1_get_float_box_p()

const float * gserialized1_get_float_box_p ( const GSERIALIZED g,
size_t *  ndims 
)

Point into the float box area of the serialization.

Definition at line 1491 of file gserialized1.c.

1492{
1493 if (ndims)
1494 *ndims = G1FLAGS_NDIMS_BOX(g->gflags);
1495 if (!g) return NULL;
1496 if (!G1FLAGS_GET_BBOX(g->gflags)) return NULL;
1497 return (const float *)(g->data);
1498}
#define G1FLAGS_GET_BBOX(gflags)
#define G1FLAGS_NDIMS_BOX(gflags)
uint8_t data[1]
Definition liblwgeom.h:433
uint8_t gflags
Definition liblwgeom.h:432

References GSERIALIZED::data, G1FLAGS_GET_BBOX, G1FLAGS_NDIMS_BOX, and GSERIALIZED::gflags.

Referenced by gserialized_get_float_box_p().

Here is the caller graph for this function: