point_distance_to_line(3)

NAME
point_distance_to_line - shortest distance from a point to a line

SYNOPSIS
#include <matvec.h>

float point_distance_to_line (const float *point, const float *line_point, const float *line_vector);

DESCRIPTION

Given a point and a line, expressed as line_point and parallel line_vector, compute the shortest distance from the point to the line.

AUTHOR
Richard Jones <rich@annexia.org>

LICENSE
GNU LGPL (see http://www.gnu.org/)

VERSION
c2lib-1.2.14

SEE ALSO
point_distance_to_plane(3), point_distance_to_face(3), point_distance_to_line_segment(3).