Generic interface for calculating the intersection of a ray with a face. More...
#include <arcane/core/IRayMeshIntersection.h>
Public Member Functions | |
| virtual bool | computeIntersection (Real3 origin, Real3 direction, Int32 orig_face_local_id, Int32 face_local_id, Real3ConstArrayView face_nodes, Int32 *user_value, Real *distance, Real3 *intersection_position)=0 |
| Calculates the intersection between a ray and a face. | |
Generic interface for calculating the intersection of a ray with a face.
Definition at line 32 of file IRayMeshIntersection.h.
|
inlinevirtual |
Definition at line 36 of file IRayMeshIntersection.h.
|
pure virtual |
Calculates the intersection between a ray and a face.
| origin | ray origin position. |
| direction | direction of the ray. |
| orig_face_local_id | local ID of the ray's origin face |
| face_nodes | positions of the face nodes. |
| face_local_id | local ID of the face. If it is not a sub-domain face, it equals ITEM_NULL_LOCAL_ID. |
| user_value | user value to be filled by the caller if necessary. |
| distance | returned, intersection distance if one exists. |
| intersection_position | returned, position of the intersection point. |