Template Function cif::distance_point_to_line

Function Documentation

template<typename F>
constexpr auto cif::distance_point_to_line(const point_type<F> &l1, const point_type<F> &l2, const point_type<F> &p)

return the distance from point p to the line from l1 to l2