Struct intersection_edge_t¶
Defined in File intersection.hpp
Struct Documentation¶
-
struct intersection_edge_t¶
Describes a beam-edge intersection geometry.
Public Functions
-
intersection_edge_t(const intersection_edge_t&) noexcept = default¶
-
pqvec3_t offseted_ray_origin(const ray_t &ray) const noexcept¶
Computes an offseted origin that avoids self-intersection.
-
inline auto sh_frame(const dir3_t &w) const noexcept¶
Constructs the sh frame (“soft” and “hard” diffraction frames of UTD), where
t
is the “soft”-polarization direction (in the plane that contains the edge and the ray direction) andb
is the “hard”-polarization direction (orthogonal to the plane that contains the edge and the ray direction).- Parameters:
w – incident or outgoing direction
-
intersection_edge_t(const intersection_edge_t&) noexcept = default¶