PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ gserialized_get_float_box_p()

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

Access to the float bounding box, if there is one.

NULL if there is not.

Definition at line 248 of file gserialized.c.

249 {
250  if (GFLAGS_GET_VERSION(g->gflags))
251  return gserialized2_get_float_box_p(g, ndims);
252  else
253  return gserialized1_get_float_box_p(g, ndims);
254 }
const float * gserialized1_get_float_box_p(const GSERIALIZED *g, size_t *ndims)
Point into the float box area of the serialization.
const float * gserialized2_get_float_box_p(const GSERIALIZED *g, size_t *ndims)
Point into the float box area of the serialization.
Definition: gserialized2.c:294
#define GFLAGS_GET_VERSION(gflags)
Definition: gserialized.c:12
uint8_t gflags
Definition: liblwgeom.h:432

References GSERIALIZED::gflags, GFLAGS_GET_VERSION, gserialized1_get_float_box_p(), and gserialized2_get_float_box_p().

Referenced by gserialized_datum_get_box2df_p().

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