PostGIS  3.4.0dev-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.

44 {
46  result = lwalloc(sizeof(RTREE_POLY_CACHE));
47  memset(result, 0, sizeof(RTREE_POLY_CACHE));
48  return result;
49 }
char result[OUT_DOUBLE_BUFFER_SIZE]
Definition: cu_print.c:262
void * lwalloc(size_t size)
Definition: lwutil.c:227
The tree structure used for fast P-i-P tests by point_in_multipolygon_rtree()
Definition: lwgeom_rtree.h:59

References lwalloc(), and result.

Referenced by RTreeBuilder().

Here is the call graph for this function:
Here is the caller graph for this function: