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

◆ trgeo_append_tinstant()

Temporal * trgeo_append_tinstant ( Temporal temp,
const TInstant inst,
interpType  interp,
double  maxdist,
const Interval maxt,
bool  expand 
)

Append an instant to a temporal value.

Parameters
[in,out]tempTemporal rigid geometry
[in]instTemporal instant
[in]interpInterpolation
[in]maxdistMaximum distance for defining a gap
[in]maxtMaximum time interval for defining a gap
[in]expandTrue when reserving space for additional instants @csqlfn Temporal_append_tinstant()
Returns
When the temporal value passed as first argument has space for adding the instant, the function returns the temporal value. Otherwise, a NEW temporal value is returned and the input value is freed.
Note
Always use the function to overwrite the existing temporal value as in:
temp = temporal_append_tinstant(temp, inst, ...);
Temporal * temporal_append_tinstant(Temporal *temp, const TInstant *inst, interpType interp, double maxdist, const Interval *maxt, bool expand)
Append an instant to a temporal value.
Definition: temporal_modif.c:2244