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

◆ npointsegm_interpolate()

Npoint * npointsegm_interpolate ( const Npoint start,
const Npoint end,
long double  ratio 
)

Return a network point interpolated from a network point segment with respect to a fraction of its total length.

Parameters
[in]start,endNetwork points defining the segment
[in]ratioFloat between 0 and 1 representing the fraction of the total length of the segment where the interpolated network point is located