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

◆ numspan_shift_scale_iter()

void numspan_shift_scale_iter ( Span s,
Datum  shift,
Datum  width,
bool  hasshift,
bool  haswidth,
Datum delta,
double *  scale 
)

Return a number span shifted and/or scaled by two values (iterator function)

Parameters
[in]sSpan
[in]shiftValue for shifting the bounds
[in]widthWidth of the result
[in]hasshiftTrue when the shift argument is given
[in]haswidthTrue when the width argument is given
[out]delta,scaleDelta and scale of the transformation