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

Sorts STBoxes within an RTree node along a specified axis.

This function initiates the sorting of STBoxes within a given RTree node using QuickSort.

Parameters
[in]rtreePointer to the RTree structure, which provides the function for retrieving axis values.
[in,out]nodePointer to the RTreeNode structure containing the STBoxes to be sorted.
[in]indexThe axis index along which to sort the STBoxes.
[in]upperBoolean flag indicating whether to sort by the upper or lower axis value.