MobilityDB 1.3
Loading...
Searching...
No Matches

◆ node_sort_axis()

static void node_sort_axis ( const RTree rtree,
RTreeNode node,
int  index,
bool  upper 
)
static

Sort the bounding boxes in an RTree node along a given axis using QuickSort.

Parameters
[in]rtreePointer to the RTree structure, which provides the function for retrieving axis values
[in,out]nodePointer to the node containing the bounding boxes to be sorted
[in]indexThe axis index along which to sort the bounding boxes
[in]upperA boolean that indicates whether to sort by the upper or lower axis value