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

◆ get_axis_stbox()

static double get_axis_stbox ( const void *  box,
int  axis,
bool  upper 
)
static

Return the lower or upper bound of a given axis from a spatiotemporal box as a double.

The function supports the X, Y, and Z spatial axes and the temporal axis

Parameters
[in]boxSpatiotemporal box
[in]axisThe axis to retrieve (0 = X, 1 = Y, 2 = time, 3 = Z)
[in]upperTrue when retrieving the upper bound, False for the lower bound