|
PostGIS
3.7.0dev-r@@SVN_REVISION@@
|
| IntervalTree* GetIntervalTree | ( | FunctionCallInfo | fcinfo, |
| SHARED_GSERIALIZED * | g1 | ||
| ) |
Checks for a cache hit against the provided geometry and returns a pre-built index structure (RTREE_POLY_CACHE) if one exists.
Otherwise builds a new one and returns that.
Definition at line 114 of file lwgeom_itree.c.
References IntervalTreeCacheMethods, IntervalTreeGeomCache::itree, itree_from_lwgeom(), lwgeom_free(), and lwgeom_from_gserialized().
Referenced by contains(), coveredby(), covers(), ST_Intersects(), and within().

