|
EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
|
A ray: the points origin + t * direction. More...
#include <EBGeometry_Ray.hpp>
Public Types | |
| using | Scalar = T |
| Floating-point precision. | |
Public Member Functions | |
| Vec3T< T > | at (T a_t) const noexcept |
| The point at a distance along the ray. | |
Public Attributes | |
| Vec3T< T > | m_origin |
| Where the ray starts. | |
| Vec3T< T > | m_direction |
| Unit direction. | |
A ray: the points origin + t * direction.
The queries take the direction to be of unit length, so that t is a distance along the ray. This is checked only with assertions on (EBGEOMETRY_EXPECT): with another length, a marched query steps the wrong distance and can step over the surface.
| T | Floating-point precision. |
|
inlinenoexcept |
The point at a distance along the ray.
| [in] | a_t | Distance along the ray. |