PostGIS  2.5.7dev-r@@SVN_REVISION@@
gserialized_spgist_2d.c File Reference
#include <postgres.h>
#include <utils/builtins.h>
#include "access/spgist.h"
#include "catalog/pg_type_d.h"
#include "../postgis_config.h"
#include "liblwgeom.h"
#include "lwgeom_pg.h"
#include <gserialized_gist.h>
Include dependency graph for gserialized_spgist_2d.c:

Go to the source code of this file.

Data Structures

struct  RectBox
 

Functions

Datum gserialized_spgist_config_2d (PG_FUNCTION_ARGS)
 
Datum gserialized_spgist_choose_2d (PG_FUNCTION_ARGS)
 
Datum gserialized_spgist_picksplit_2d (PG_FUNCTION_ARGS)
 
Datum gserialized_spgist_inner_consistent_2d (PG_FUNCTION_ARGS)
 
Datum gserialized_spgist_leaf_consistent_2d (PG_FUNCTION_ARGS)
 
Datum gserialized_spgist_compress_2d (PG_FUNCTION_ARGS)
 
static int compareDoubles (const void *a, const void *b)
 
static uint8 getQuadrant4D (BOX2DF *centroid, BOX2DF *inBox)
 
static RectBoxinitRectBox (void)
 
static RectBoxnextRectBox (RectBox *rect_box, BOX2DF *centroid, uint8 quadrant)
 
static bool overlap4D (RectBox *rect_box, BOX2DF *query)
 
static bool contain4D (RectBox *rect_box, BOX2DF *query)
 
static bool left4D (RectBox *rect_box, BOX2DF *query)
 
static bool overLeft4D (RectBox *rect_box, BOX2DF *query)
 
static bool right4D (RectBox *rect_box, BOX2DF *query)
 
static bool overRight4D (RectBox *rect_box, BOX2DF *query)
 
static bool below4D (RectBox *rect_box, BOX2DF *query)
 
static bool overBelow4D (RectBox *rect_box, BOX2DF *query)
 
static bool above4D (RectBox *rect_box, BOX2DF *query)
 
static bool overAbove4D (RectBox *rect_box, BOX2DF *query)
 
 PG_FUNCTION_INFO_V1 (gserialized_spgist_config_2d)
 
 PG_FUNCTION_INFO_V1 (gserialized_spgist_choose_2d)
 
 PG_FUNCTION_INFO_V1 (gserialized_spgist_picksplit_2d)
 
 PG_FUNCTION_INFO_V1 (gserialized_spgist_inner_consistent_2d)
 
 PG_FUNCTION_INFO_V1 (gserialized_spgist_leaf_consistent_2d)
 
 PG_FUNCTION_INFO_V1 (gserialized_spgist_compress_2d)