MobilityDB 1.1

◆ dist3d_pt_seg()

static double dist3d_pt_seg ( POINT3DZ p,
POINT3DZ A,
POINT3DZ B 
)
static

Return the 3D distance between the point the segment.

Parameters
[in]pPoint
[in]A,BPoints defining the segment
Note
Derived from the PostGIS function lw_dist3d_pt_seg in file measures3d.c
See also
http://geomalgorithms.com/a02-_lines.html