ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
detray::volume_graph< detector_t, node_inspector, vector_t >::node_generator::node_builder Struct Reference

A functor to retrieve the half-edges of a node. More...

#include <detray/navigation/volume_graph.hpp>

Public Member Functions

void operator() (const typename detector_t::surface_type &sf, vector_t< typename detector_t::surface_type::mask_link > &half_edges) const
 Append a surface's mask link to the node's half-edge collection.

Detailed Description

template<concepts::detector detector_t, typename node_inspector = void_node_inspector<typename detector_t::volume_type>, template< typename... > class vector_t = dvector>
struct detray::volume_graph< detector_t, node_inspector, vector_t >::node_generator::node_builder

A functor to retrieve the half-edges of a node.

Member Function Documentation

◆ operator()()

template<concepts::detector detector_t, typename node_inspector = void_node_inspector<typename detector_t::volume_type>, template< typename... > class vector_t = dvector>
void detray::volume_graph< detector_t, node_inspector, vector_t >::node_generator::node_builder::operator() ( const typename detector_t::surface_type & sf,
vector_t< typename detector_t::surface_type::mask_link > & half_edges ) const

Append a surface's mask link to the node's half-edge collection.

Parameters
sfsurface whose mask link is collected
half_edgescollection receiving the link