DistPtVect.c



REAL DistPtVect(VEC3F Point, VEC3F End1, VEC3F End2)

Inputs

VEC3F Point The coordinates of a point
VEC3F End1 Coordinates of one end of vector
VEC3F End2 Coordinates of other end of vector

Returns

REAL The distance from pt to line

Description

Calculate the distance from a point to a vector described by two end points

Created: 18.06.96 Last Modified: 18.06.96