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

◆ tpoint_at_tile()

Temporal * tpoint_at_tile ( const Temporal temp,
const STBox box 
)

Restrict a temporal point to a tile defined by a spatiotemporal box.

In addition to applying the atStbox() function we must remove the upper bound for each dimension. The following figure shows the borders that are removed (represented by x) for a 2D tile and 3D tile

xxxxxxxxxxxxxxxxx
| x
| x
|---------------x
xxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxx
| xxx
| xx
|---------------x
Parameters
[in]tempTemporal point
[in]boxSpatiotemporal box