Definition of an intersection.
More...
|
| 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.
|
| |
Definition of an intersection.
◆ 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 ) |
Apply transformation and compute the distance.
- 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 ) |
Initialize an interface from point and distance only.
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 ) |
Initialize an interface from point and distance only.
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
◆ distance
| double precision mod_ray_tracing::t_intersection::distance = 0d0 |
Distance from the origin of the ray to the intersection point.
◆ normal
| double precision, dimension(3) mod_ray_tracing::t_intersection::normal = 0d0 |
Normal to the interface at the intersection point.
◆ point
| double precision, dimension(3) mod_ray_tracing::t_intersection::point = 0d0 |
◆ tag
| integer mod_ray_tracing::t_intersection::tag = 0 |
The documentation for this type was generated from the following file: