pub fn line_seg_closest_point<T>(
    p0: Vector2<T>,
    p1: Vector2<T>,
    point: Vector2<T>
) -> Vector2<T>
where T: Real,
Expand description

Returns the closest point on the line segment from p0 to p1 to the point given.