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

Transformation functions for temporal types. More...

Functions

double float_degrees (double value, bool normalize)
 Return a float converted from radians to degrees. More...
 
Temporal ** temparr_round (const Temporal **temparr, int count, int maxdd)
 Return an array of temporal floats with the precision of the coordinates set to a number of decimal places. More...
 
Temporaltemporal_round (const Temporal *temp, int maxdd)
 Return a temporal value rounded to a given number of decimal places. More...
 
Temporaltemporal_scale_time (const Temporal *temp, const Interval *duration)
 Return a temporal value scaled by an interval. More...
 
Temporaltemporal_set_interp (const Temporal *temp, interpType interp)
 Return a temporal value transformed to an interpolation. More...
 
Temporaltemporal_shift_scale_time (const Temporal *temp, const Interval *shift, const Interval *duration)
 Return a temporal value shifted and/or scaled by two intervals. More...
 
Temporaltemporal_shift_time (const Temporal *temp, const Interval *shift)
 Return a temporal value shifted by an interval. More...
 
TInstanttemporal_to_tinstant (const Temporal *temp)
 Return a temporal value transformed to a temporal instant. More...
 
TSequencetemporal_to_tsequence (const Temporal *temp, interpType interp)
 Return a temporal value transformed to a temporal sequence. More...
 
TSequenceSettemporal_to_tsequenceset (const Temporal *temp, interpType interp)
 Return a temporal value transformed to a temporal sequence set. More...
 
Temporaltfloat_ceil (const Temporal *temp)
 Return a temporal float rounded up to the nearest temporal integer. More...
 
Temporaltfloat_degrees (const Temporal *temp, bool normalize)
 Return a temporal float transformed from radians to degrees. More...
 
Temporaltfloat_floor (const Temporal *temp)
 Return a temporal float rounded down to the nearest temporal integer. More...
 
Temporaltfloat_radians (const Temporal *temp)
 Return a temporal float transformed from degrees to radians. More...
 
Temporaltfloat_scale_value (const Temporal *temp, double width)
 Return a temporal float whose value dimension is scaled by a value. More...
 
Temporaltfloat_shift_scale_value (const Temporal *temp, double shift, double width)
 Return a temporal number whose value dimension is shifted and scaled by two values. More...
 
Temporaltfloat_shift_value (const Temporal *temp, double shift)
 Return a temporal integer whose value dimension is shifted by a value @csqlfn Tnumber_shift_value() More...
 
Temporaltint_scale_value (const Temporal *temp, int width)
 Return a temporal integer whose value dimension is scaled by a value. More...
 
Temporaltint_shift_scale_value (const Temporal *temp, int shift, int width)
 Return a temporal integer whose value dimension is shifted and scaled by two values. More...
 
Temporaltint_shift_value (const Temporal *temp, int shift)
 Return a temporal integer whose value dimension is shifted by a value @csqlfn Tnumber_shift_value() More...
 

Detailed Description

Transformation functions for temporal types.