Definition of an intersection.
|
double precision, dimension(3) | point = 0d0 |
| Intersection point.
|
|
double precision | distance = 0d0 |
| Distance from the origin of the ray to the intersection point.
|
|
double precision, dimension(3) | normal = 0d0 |
| Normal to the interface at the intersection point.
|
|
integer | tag = 0 |
| Tag.
|
|
◆ apply_transformation()
procedure mod_ray_tracing::t_intersection::apply_transformation |
( |
class(t_intersection), intent(inout) | intersection, |
|
|
type(t_cg_transformation), intent(in) | transformation, |
|
|
type(t_ray), intent(in) | ray, |
|
|
logical, intent(in) | has_normal ) |
- Parameters
-
[in,out] | intersection | Intersection. |
[in] | transformation | transformation. |
[in] | ray | ray in the original frame. |
[in] | has_normal | Apply transformation to the normal. |
◆ rt_intersection_partial_initialization()
pure type(t_intersection) function mod_ray_tracing::t_intersection::rt_intersection_partial_initialization |
( |
double precision, dimension(3), intent(in) | point, |
|
|
double precision, intent(in) | distance ) |
The normal vector is set to null vector.
- Parameters
-
[in] | point | Intersection point |
[in] | distance | Intersection distance |
- Returns
- Initialized intersection
◆ rt_intersection_partial_initialization_no_tag()
pure type(t_intersection) function mod_ray_tracing::t_intersection::rt_intersection_partial_initialization_no_tag |
( |
double precision, dimension(3), intent(in) | point, |
|
|
double precision, intent(in) | distance, |
|
|
double precision, dimension(3), intent(in) | normal ) |
The normal vector is set to null vector.
- Parameters
-
[in] | point | Intersection point |
[in] | distance | Intersection distance |
[in] | normal | Normal vector at the intersection point |
- Returns
- Initialized intersection
The documentation for this type was generated from the following file:
- src/lib/geometry/computational_geometry/ray_tracing/ray_tracing.f90