jaulib v1.3.0
Jau Support Library (C++, Java, ..)
|
Simple compound denoting a ray. More...
#include <vec2f.hpp>
Public Member Functions | |
std::string | toString () const noexcept |
Public Attributes | |
Vector2F< T > | dir |
Normalized direction vector of ray. More... | |
Point2F< T > | orig |
Origin of Ray. More... | |
Simple compound denoting a ray.
A ray, also known as a half line, consists out of it's origin and direction. Hence it is bound to only the origin side, where the other end is +infinitive.
R(t) = R0 + Rd * t with R0 origin, Rd direction and t > 0.0
|
inlinenoexcept |
Point2F<T> jau::math::Ray2F< T, >::orig |
Vector2F<T> jau::math::Ray2F< T, >::dir |