Template Function wt::intersect::test_cone_edge

Function Documentation

template<bool in_local = false>
inline bool wt::intersect::test_cone_edge(const elliptic_cone_t &cone, const pqvec3_t &p0, const pqvec3_t &p1, const pqrange_t<> &range = pqrange_t<>::positive()) noexcept

Ray-AABB intersection test.

Template Parameters:

test_points_in_cone – if FALSE, assume the caller knows a priori that ALL points are outside the cone.