#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/latest/src/axom/primal/geometry/Ray.hpp>
◆ CoordType
template<typename T , int NDIMS>
◆ PointType
template<typename T , int NDIMS>
◆ SegmentType
template<typename T , int NDIMS>
◆ VectorType
template<typename T , int NDIMS>
◆ Ray() [1/3]
template<typename T , int NDIMS>
Disable the default constructor.
◆ Ray() [2/3]
template<typename T , int NDIMS>
◆ Ray() [3/3]
template<typename T , int NDIMS>
◆ origin()
template<typename T , int NDIMS>
Returns the point of origin of this Ray instance.
- Returns
- origin a point instance corresponding to the origin of the ray.
◆ at()
template<typename T , int NDIMS>
Returns a point along the ray by evaluating \( R(t) \).
- Parameters
-
[in] | t | user-supplied value for R(t). |
- Returns
- p a point along the ray.
- Precondition
- \( t \ge 0 \)
◆ direction()
template<typename T , int NDIMS>
Returns the direction vector of this Ray instance.
- Returns
- direction the direction vector of the ray.
- Postcondition
- direction.norm()==1
◆ print()
template<typename T , int NDIMS>
Simple formatted print of a ray instance.
- Parameters
-
os | The output stream to write to |
- Returns
- A reference to the modified ostream
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/latest/src/axom/primal/geometry/Ray.hpp