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

◆ interpolate_point4d_spheroid()

void interpolate_point4d_spheroid ( const POINT4D p1,
const POINT4D p2,
POINT4D p,
const SPHEROID s,
double  f 
)

Find the interpolation point p between geography points p1 and p2 so that len(p1,p) == len(p1,p2) * f and p falls on the p1,p2 segment.

Parameters
[in]p1,p2geography points we are interpolating between
[in]sSpheroid used for during the intepolation, may be NULL when using sphere interpolation
[in]fFraction
[out]pResult