Function wt::intersect::intersect_edge_plane¶
Defined in File misc.hpp
Function Documentation¶
-
inline std::optional<pqvec3_t> wt::intersect::intersect_edge_plane(const pqvec3_t &p0, const pqvec3_t &p1, const pqvec3_t &pp, const dir3_t &n) noexcept¶
Returns the intersection point between a plane and an edge.
- Parameters:
p0 – first edge point
p1 – second edge point
pp – a plane point
n – plane normal