MobilityDB  1.0

◆ lw_dist2d_point_dist()

static double lw_dist2d_point_dist ( const LWGEOM *  lw1,
const LWGEOM *  lw2,
int  mode,
long double *  fraction 
)
static

Compute the projected point and the distance between the closest point (2D version).

Note
Function inspired by PostGIS function lw_dist2d_distancepoint from measures.c