11 template <
typename value_t,
size_t DIM>
13 : m_origin(origin), m_dir(dir.normalized()), m_idir(1 / m_dir.array()) {}
14 template <
typename value_t,
size_t DIM>
17 for (
size_t i = 0; i < DIM; i++) {
24 for (
size_t i = 0; i < DIM; i++) {
35 template <
typename value_t,
size_t DIM>
41 template <
typename value_t,
size_t DIM>
42 template <
size_t D, std::enable_if_t<D == 3,
int>>
45 static_assert(DIM == 3,
"OBJ is only supported in 3D");
47 helper.
line(m_origin, (m_origin + m_dir * far_distance).eval());
50 template <
typename U,
size_t V>
51 std::ostream& operator<<(std::ostream& os, const Acts::Ray<U, V>& ray) {