|
FEAT 3
Finite Element Analysis Toolbox
|
Contains information about a ray-primitive intersection. More...
#include <raycast.hpp>
Public Member Functions | |
| IntersectionData (DT_ t) | |
| Constructor. More... | |
| IntersectionData (DT_ t1, DT_ t2) | |
| Constructor. More... | |
Public Attributes | |
| DT_ | t_entry |
| Distance along ray of entry point. Relative to ray direction. More... | |
| DT_ | t_exit |
| Distance along ray of exit point. Relative to ray direction. More... | |
Contains information about a ray-primitive intersection.
| DT_ | Data type |
Contains the distance along the ray of the point(s) where a ray enters and exists some primitive shape.
Entry and exit points can differ. For example in case of a coplanar ray-triagle pair. In that case the part of the ray that overlaps the triangle is counted as an intersection and t_entry gives the first point of overlap and t_exit gives the last point of overlap.
In case of a clean intersection, for example between a ray and a non coplanar triangle, t_entry and t_exit will be identical.
The exit point t_exit is guaranteed to be identical to t_entry or further along the ray.
Definition at line 63 of file raycast.hpp.
|
inlineexplicit |
Constructor.
Definition at line 66 of file raycast.hpp.
|
inline |
| DT_ FEAT::Geometry::IntersectionData< DT_ >::t_entry |
Distance along ray of entry point. Relative to ray direction.
Definition at line 77 of file raycast.hpp.
Referenced by FEAT::Geometry::VertexRaycaster< MeshType_ >::cast(), and FEAT::Geometry::merge().
| DT_ FEAT::Geometry::IntersectionData< DT_ >::t_exit |
Distance along ray of exit point. Relative to ray direction.
Definition at line 80 of file raycast.hpp.
Referenced by FEAT::Geometry::VertexRaycaster< MeshType_ >::cast(), and FEAT::Geometry::merge().