Struct intersection_edge_t

Struct Documentation

struct intersection_edge_t

Describes a beam-edge intersection geometry.

Public Functions

inline intersection_edge_t(const ads::edge_t &edge, const pqvec3_t &wp) noexcept
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) and b is the “hard”-polarization direction (orthogonal to the plane that contains the edge and the ray direction).

Parameters:

w – incident or outgoing direction

Public Members

const ads::edge_t *edge
pqvec3_t wp