ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
detray::navigation_validator::min_dist_to_boundary Struct Reference

A functor to get the minimum distance to any surface boundary. More...

#include <detray/test/validation/navigation_validation_utils.hpp>

Public Member Functions

template<typename mask_group_t, typename idx_range_t, typename point_t>
auto operator() (const mask_group_t &mask_group, const idx_range_t idx_range, const point_t &loc_p) const
 Find the minimum distance to the boundary among a mask range.

Detailed Description

A functor to get the minimum distance to any surface boundary.

Member Function Documentation

◆ operator()()

template<typename mask_group_t, typename idx_range_t, typename point_t>
auto detray::navigation_validator::min_dist_to_boundary::operator() ( const mask_group_t & mask_group,
const idx_range_t idx_range,
const point_t & loc_p ) const

Find the minimum distance to the boundary among a mask range.

Parameters
mask_groupGroup containing the masks.
idx_rangeRange of masks to inspect.
loc_pLocal position to evaluate.
Returns
Minimum distance to a boundary.