point_distance_to_line

NAME
SYNOPSIS
DESCRIPTION
AUTHOR
LICENSE
VERSION
SEE ALSO

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.13

SEE ALSO

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