10 template <
typename value_t,
size_t DIM>
12 : m_origin(origin), m_dir(dir.normalized()), m_idir(1 / m_dir.
array()) {}
13 template <
typename value_t,
size_t DIM>
16 for (
size_t i = 0;
i < DIM;
i++) {
23 for (
size_t i = 0;
i < DIM;
i++) {
34 template <
typename value_t,
size_t DIM>
40 template <
typename value_t,
size_t DIM>
41 template <
size_t D, std::enable_if_t<D == 3,
int>>
44 static_assert(DIM == 3,
"OBJ is only supported in 3D");
46 helper.
line(m_origin, (m_origin + m_dir * far_distance).eval());
49 template <
typename U,
size_t V>
50 std::ostream& operator<<(std::ostream& os, const Acts::Ray<U, V>& ray) {