PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ RTreeCacheCreate()

static RTREE_POLY_CACHE* RTreeCacheCreate ( )
static

Allocate a fresh clean RTREE_POLY_CACHE.

Definition at line 43 of file lwgeom_rtree.c.

References lwalloc().

Referenced by RTreeBuilder().

44 {
45  RTREE_POLY_CACHE* result;
46  result = lwalloc(sizeof(RTREE_POLY_CACHE));
47  memset(result, 0, sizeof(RTREE_POLY_CACHE));
48  return result;
49 }
The tree structure used for fast P-i-P tests by point_in_multipolygon_rtree()
Definition: lwgeom_rtree.h:57
void * lwalloc(size_t size)
Definition: lwutil.c:229
Here is the call graph for this function:
Here is the caller graph for this function: