11 #ifndef CUBBYFLOW_RAY_IMPL_HPP 12 #define CUBBYFLOW_RAY_IMPL_HPP 16 template <
typename T,
size_t N>
22 template <
typename T,
size_t N>
29 template <
typename T,
size_t N>
36 template <
typename T,
size_t N>
38 :
origin(std::move(other.origin)),
direction(std::move(other.direction))
43 template <
typename T,
size_t N>
51 template <
typename T,
size_t N>
54 origin = std::move(other.origin);
59 template <
typename T,
size_t N>
VectorType origin
The origin of the ray.
Definition: Ray.hpp:35
Class for N-D ray.
Definition: Ray.hpp:25
VectorType PointAt(T t) const
Returns a point on the ray at distance t.
Definition: Ray-Impl.hpp:60
Definition: Matrix.hpp:27
Definition: pybind11Utils.hpp:20
VectorType direction
The direction of the ray.
Definition: Ray.hpp:38
Ray()
Constructs an empty ray that points (1, 0, ...) from (0, 0, ...).
Definition: Ray-Impl.hpp:17
Ray & operator=(const Ray &other)
Copy assignment operator.
Definition: Ray-Impl.hpp:44