PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ gidx_is_unknown()

static bool gidx_is_unknown ( const GIDX *  a)
inlinestatic

Definition at line 129 of file gserialized_gist_nd.c.

References FALSE, and TRUE.

Referenced by gidx_contains(), gidx_equals(), gidx_inter_volume(), gidx_merge(), gidx_overlaps(), gidx_union_volume(), and gidx_volume().

130 {
131  size_t size = VARSIZE(a) - VARHDRSZ;
132  /* "unknown" gidx objects have a too-small size of one float */
133  if ( size <= 0.0 )
134  return TRUE;
135  return FALSE;
136 }
#define FALSE
Definition: dbfopen.c:168
#define TRUE
Definition: dbfopen.c:169
Here is the caller graph for this function: