![]() |
MobilityDB 1.3
|
◆ getQuadrant4D()Calculate the quadrant. The quadrant is 8 bit unsigned integer with 4 least bits in use. This function accepts temporal boxes as input. All 4 bits are set by comparing a corner of the box. This makes 16 quadrants in total. Continuing with the example at the top of this file | |
| |
| -----+-----
| | inbox
| |
-------------+-------------
| centroid
|
|
|
|
Datum centroid(PG_FUNCTION_ARGS) where centroid = TBOXFLOAT XT([3, 5],[2001-01-03, 2001-01-05])
inbox = TBOXFLOAT XT([7, 9],[2001-01-07, 2001-01-09])
Then
|