PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ gidx_is_unknown()

static bool gidx_is_unknown ( const GIDX *  a)
inlinestatic

Definition at line 157 of file gserialized_gist_nd.c.

References FALSE, and TRUE.

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

158 {
159  size_t size = VARSIZE(a) - VARHDRSZ;
160  /* "unknown" gidx objects have a too-small size of one float */
161  if ( size <= 0.0 )
162  return TRUE;
163  return FALSE;
164 }
#define FALSE
Definition: dbfopen.c:168
#define TRUE
Definition: dbfopen.c:169
Here is the caller graph for this function: