Template Function cif::line_line_intersection
Defined in File point.hpp
Function Documentation
-
template<typename F>
std::optional<cif::point> cif::line_line_intersection(const point_type<F> &p1, const point_type<F> &p2, const point_type<F> &p3, const point_type<F> &p4) return the point where two lines intersect, or an empty value if they don’t intersect at all