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

◆ cbuffersegm_locate()

long double cbuffersegm_locate ( const Cbuffer start,
const Cbuffer end,
const Cbuffer value 
)

Return a float in [0,1] representing the location of the closest location on the circular buffer segment to the given circular buffer, as a fraction of the segment length.

Parameters
[in]start,endCircular buffers defining the segment
[in]valueCircular buffer to locate