Template Function wt::intersect::intersect_cone_plane¶
Defined in File cone.hpp
Function Documentation¶
-
template<bool in_local = false>
inline intersect_cone_plane_ret_t wt::intersect::intersect_cone_plane(const elliptic_cone_t &cone, dir3_t n, length_t d, const pqrange_t<> &range = {0 * u::m, limits<length_t>::infinity()}) noexcept¶ Cone-plane intersection test. Returns intersection range. If range is empty, no intersection occurs. Returned intersection points are always on the cone boundary.
- Template Parameters:
in_local – TRUE if n and d are given in cone’s local frame