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

◆ stbox_quad_split()

STBox * stbox_quad_split ( const STBox box,
int *  count 
)

Return a spatiotemporal box split with respect to its space bounds in four quadrants (2D) or eight octants (3D)

The quadrants/octants are numbered as follows

(front) (back if has Z dimension)
------------- -------------
| 2 | 3 | | 6 | 7 |
------------- + -------------
| 0 | 1 | | 4 | 5 |
------------- -------------
Parameters
[in]boxSpatiotemporal box
[out]countNumber of elements in the output array @csqlfn Stbox_quad_split()