PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ RTreeCacheCreate()

static RTREE_POLY_CACHE* RTreeCacheCreate ( )

Allocate a fresh clean RTREE_POLY_CACHE.

Definition at line 29 of file lwgeom_rtree.c.

References lwalloc().

Referenced by RTreeBuilder().

30 {
31  RTREE_POLY_CACHE* result;
32  result = lwalloc(sizeof(RTREE_POLY_CACHE));
33  memset(result, 0, sizeof(RTREE_POLY_CACHE));
34  return result;
35 }
The tree structure used for fast P-i-P tests by point_in_multipolygon_rtree()
Definition: lwgeom_rtree.h:33
void * lwalloc(size_t size)
Definition: lwutil.c:199
Here is the call graph for this function:
Here is the caller graph for this function: