PostGIS  2.1.10dev-r@@SVN_REVISION@@
static RTREE_POLY_CACHE* RTreeCacheCreate ( )
static

Allocate a fresh clean RTREE_POLY_CACHE.

Definition at line 29 of file lwgeom_rtree.c.

References lwalloc(), and result.

Referenced by RTreeBuilder().

30 {
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
char ** result
Definition: liblwgeom.h:218
void * lwalloc(size_t size)
Definition: lwutil.c:175

Here is the call graph for this function:

Here is the caller graph for this function: