Template Function wt::intersect::intersect_edge_ellipse¶
Defined in File misc.hpp
Function Documentation¶
-
template<bool line = false>
inline intersect_edge_circle_ret_t wt::intersect::intersect_edge_ellipse(pqvec2_t point0, pqvec2_t point1, const length_t rx, const length_t ry) noexcept¶ Edge-ellipse (axis-aligned) intersection test.
- Template Parameters:
line – If TRUE perform line-ellipse test (line that passes through points p0,p1)