PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ 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 1492 of file gserialized1.c.

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

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: