point_distance_to_line_segment - shortest distance from a point to a line segment |
#include <matvec.h> float point_distance_to_line_segment (const float *point, const float *line_point0, const float *line_point1); |
Given a point and a line segment from line_point0 to line_point1, compute the shortest distance from the point to the line segment. |
Richard Jones <rich@annexia.org> |
GNU LGPL (see http://www.gnu.org/) |
c2lib-1.2.13 |
point_distance_to_line(3). |