MobilityDB 1.1

◆ tgeogpointinstarr_set_stbox()

void tgeogpointinstarr_set_stbox ( const TInstant **  instants,
int  count,
interpType  interp,
STBox box 
)

Set the spatiotemporal box from an array of temporal instant geography point.

Note
This function is called by the constructor of a temporal point sequence when the points are geodetic to compute the bounding box. Since the composing points have been already validated in the constructor there is no verification of the input in this function, in particular for geographies it is supposed that the composing points are geodetic
Parameters
[in]instantsTemporal instant values
[in]countNumber of elements in the array
[in]interpInterpolation
[out]boxSpatiotemporal box
Note
In the current PostGIS version the difference when computing the gbox for a MultiPoint and a Linestring is around 2e-7