MobilityDB 1.1
|
◆ spannode_kdtree_next()
Compute the next traversal value for a k-d tree given the bounding box and the centroid of the current node, the half number (0 or 1), and the level. For example, given the bounding box of the root node (level 0) and the centroid as follows nodebox = (-infinity, -infinity)(infinity, infinity) centroid = (2001-06-19 09:07:00, 2001-06-19 09:13:00] the halves are as follows 0 = (-infinity, -infinity)(2001-06-19 09:07:00+02, infinity) 1 = [2001-06-19 09:07:00+02, -infinity)(infinity, infinity) |