PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ gserialized2_box_size()

static size_t gserialized2_box_size ( const GSERIALIZED g)
inlinestatic

Definition at line 81 of file gserialized2.c.

82 {
84  return 6 * sizeof(float);
85  else
86  return 2 * G2FLAGS_NDIMS(g->gflags) * sizeof(float);
87 }
#define G2FLAGS_GET_GEODETIC(gflags)
Definition: gserialized2.h:25
#define G2FLAGS_NDIMS(gflags)
Definition: gserialized2.h:36
uint8_t gflags
Definition: liblwgeom.h:432

References G2FLAGS_GET_GEODETIC, G2FLAGS_NDIMS, and GSERIALIZED::gflags.

Referenced by gserialized2_get_geometry_p(), and gserialized2_header_size().

Here is the caller graph for this function: