PostGIS  2.5.7dev-r@@SVN_REVISION@@
lwgeom_rectree.c File Reference
#include "postgres.h"
#include "funcapi.h"
#include "fmgr.h"
#include "liblwgeom.h"
#include "liblwgeom_internal.h"
#include "lwgeom_pg.h"
#include "lwtree.h"
#include "lwgeom_cache.h"
Include dependency graph for lwgeom_rectree.c:

Go to the source code of this file.

Data Structures

struct  RectTreeGeomCache
 

Functions

Datum ST_DistanceRectTree (PG_FUNCTION_ARGS)
 
Datum ST_DistanceRectTreeCached (PG_FUNCTION_ARGS)
 
static int RectTreeBuilder (const LWGEOM *lwgeom, GeomCache *cache)
 Builder, freeer and public accessor for cached RECT_NODE trees. More...
 
static int RectTreeFreer (GeomCache *cache)
 
static GeomCache * RectTreeAllocator (void)
 
static RectTreeGeomCacheGetRectTreeGeomCache (FunctionCallInfo fcinfo, const GSERIALIZED *g1, const GSERIALIZED *g2)
 
 PG_FUNCTION_INFO_V1 (ST_DistanceRectTree)
 
 PG_FUNCTION_INFO_V1 (ST_DistanceRectTreeCached)
 

Variables

static GeomCacheMethods RectTreeCacheMethods