|
|
constexpr | intersection2D ()=default |
| | Default constructor.
|
template<bool B = has_pos>
requires (!B) |
| constexpr | intersection2D (const surface_type &sf, const scalar_type path, const nav_link_type nl, const dsimd< algebra_t, status_type > status, const bool_type dir) |
| | Fully parametrized constructor - contains no local position.
|
template<bool B = has_pos>
requires B |
| constexpr | intersection2D (const surface_type &sf, const scalar_type path, const point3_type &local, const nav_link_type nl, const dsimd< algebra_t, status_type > status, const bool_type dir) |
| | Fully parametrized constructor - contains local position.
|
| constexpr bool_type | is_along () const |
| constexpr bool | is_edge () const |
| constexpr bool | is_inside () const |
| constexpr bool | is_outside () const |
| constexpr bool | is_probably_inside () const |
template<bool B = has_pos>
requires B |
| constexpr point3_type | local () const |
| constexpr scalar_type | path () const |
| constexpr void | set_direction (const bool_type dir) |
| | Set the direction to.
|
template<bool B = has_pos>
requires B |
| constexpr void | set_local (const point3_type p) |
| | Set the intersection position to.
|
| constexpr void | set_path (scalar_type p) |
| | Set the path to.
|
| constexpr void | set_status (intersection::status s) |
| | Set the intersection status according to enum value s.
|
| constexpr void | set_status_if (intersection::status s, dbool< algebra_t > result_mask) |
| | Set the intersection status according to enum value s.
|
| constexpr void | set_surface (const surface_type sf) |
| | Set the surface for this intersection to.
|
| constexpr void | set_volume_link (const nav_link_type nl) |
| | Set the volume link to.
|
| constexpr dsimd< algebra_t, status_type > | status () const |
| constexpr surface_type & | surface () |
| constexpr surface_type | surface () const |
| constexpr nav_link_type | volume_link () const |
template<typename surface_t, concepts::algebra algebra_t, bool has_pos = intersection::contains_pos>
class detray::intersection2D< surface_t, algebra_t, has_pos >
This class holds the intersection information.
- Template Parameters
-
| surface_t | is the type of surface descriptor |
| algebra_t | linear algebra and memory layout |
| has_pos | whether the local position is saved or not |