25 #ifndef _LWGEOM_RTREE_H 26 #define _LWGEOM_RTREE_H 1
The following struct and methods are used for a 1D RTree implementation, described at: http://lin-ear...
The tree structure used for fast P-i-P tests by point_in_multipolygon_rtree()
LWMLINE * RTreeFindLineSegments(RTREE_NODE *root, double value)
Retrieves a collection of line segments given the root and crossing value.
struct rtree_node * leftNode
Representation for the y-axis interval spanned by an edge.
RTREE_INTERVAL * interval
struct rtree_node RTREE_NODE
The following struct and methods are used for a 1D RTree implementation, described at: http://lin-ear...
struct rtree_node * rightNode
RTREE_NODE ** ringIndices
RTREE_POLY_CACHE * GetRtreeCache(FunctionCallInfo fcinfo, GSERIALIZED *g1)
Checks for a cache hit against the provided geometry and returns a pre-built index structure (RTREE_P...
This library is the generic geometry handling section of PostGIS.