PostGIS  3.0.6dev-r@@SVN_REVISION@@
gserialized_spgist_nd.c File Reference
#include "gserialized_spgist_3d.h"
#include "lwgeom_pg.h"
#include "gserialized_gist.h"
Include dependency graph for gserialized_spgist_nd.c:

Go to the source code of this file.

Data Structures

struct  CubeGIDX
 

Macros

#define GIDX_MAX_NODES   256
 

Functions

Datum gserialized_spgist_config_nd (PG_FUNCTION_ARGS)
 
Datum gserialized_spgist_choose_nd (PG_FUNCTION_ARGS)
 
Datum gserialized_spgist_picksplit_nd (PG_FUNCTION_ARGS)
 
Datum gserialized_spgist_inner_consistent_nd (PG_FUNCTION_ARGS)
 
Datum gserialized_spgist_leaf_consistent_nd (PG_FUNCTION_ARGS)
 
Datum gserialized_spgist_compress_nd (PG_FUNCTION_ARGS)
 
static int compareFloats (const void *a, const void *b)
 
static uint16_t getOctant (GIDX *centroid, GIDX *inBox)
 
static CubeGIDXinitCubeBox (int ndims)
 
static CubeGIDXnextCubeBox (CubeGIDX *cube_box, GIDX *centroid, uint16_t octant)
 
static bool overlapND (CubeGIDX *cube_box, GIDX *query)
 
static bool containND (CubeGIDX *cube_box, GIDX *query)
 
 PG_FUNCTION_INFO_V1 (gserialized_spgist_config_nd)
 
 PG_FUNCTION_INFO_V1 (gserialized_spgist_choose_nd)
 
 PG_FUNCTION_INFO_V1 (gserialized_spgist_picksplit_nd)
 
 PG_FUNCTION_INFO_V1 (gserialized_spgist_inner_consistent_nd)
 
 PG_FUNCTION_INFO_V1 (gserialized_spgist_leaf_consistent_nd)
 
 PG_FUNCTION_INFO_V1 (gserialized_spgist_compress_nd)