Creates an interior node given the children.
Definition at line 148 of file lwgeom_rtree.c.
152 POSTGIS_DEBUGF(2,
"RTreeCreateInteriorNode called for children %p, %p", left, right);
160 POSTGIS_DEBUGF(3,
"RTreeCreateInteriorNode returning %p", parent);
void * lwalloc(size_t size)
static RTREE_INTERVAL * RTreeMergeIntervals(RTREE_INTERVAL *inter1, RTREE_INTERVAL *inter2)
Creates an interval with the total extents of the two given intervals.
struct rtree_node * leftNode
struct rtree_node * rightNode
RTREE_INTERVAL * interval
The following struct and methods are used for a 1D RTree implementation, described at: http://lin-ear...
References rtree_node::interval, rtree_node::leftNode, lwalloc(), rtree_node::rightNode, RTreeMergeIntervals(), and rtree_node::segment.
Referenced by RTreeCreate().