PostGIS  2.3.7dev-r@@SVN_REVISION@@
PrepGeomCache* GetPrepGeomCache ( FunctionCallInfoData *  fcinfo,

Given a couple potential geometries and a function call context, return a prepared structure for one of them, if such a structure doesn't already exist.

If it doesn't exist, and there is a cache hit, ensure that the structure is built for next time. Most of the work is done by the GetGeomCache generic function, but we pass in call-backs to handle building and freeing the GEOS PreparedGeometry structures we need for this particular caching strategy.

Definition at line 452 of file lwgeom_geos_prepared.c.

Referenced by contains(), containsproperly(), covers(), and geos_intersects().

453 {
454  return (PrepGeomCache*)GetGeomCache(fcinfo, &PrepGeomCacheMethods, g1, g2);
455 }
static GeomCacheMethods PrepGeomCacheMethods

Here is the caller graph for this function: