|
◆ temporal_append_tinstant()
Append an instant to a temporal value.
- Parameters
-
[in,out] | temp | Temporal value |
[in] | inst | Temporal instant |
[in] | interp | Interpolation |
[in] | maxdist | Maximum distance for defining a gap |
[in] | maxt | Maximum time interval for defining a gap, may be NULL |
[in] | expand | True 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:
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:2201
|