Definition of a ray.
More...
|
|
double precision, dimension(3) | origin = 0d0 |
| | Origin of the ray.
|
| |
|
double precision, dimension(3) | direction = 0d0 |
| | Direction of the ray.
|
| |
|
double precision, dimension(3) | inv_direction = 0d0 |
| | Inverse of direction.
|
| |
|
integer, dimension(3) | sign_inv_direction = 1 |
| | Sign of the inverse direction.
|
| |
◆ get_transformed_ray()
| procedure mod_ray_tracing::t_ray::get_transformed_ray |
( |
class(t_ray), intent(in) | ray, |
|
|
type(t_cg_transformation), intent(in) | transformation, |
|
|
type(t_ray), intent(out) | transformed_ray ) |
Apply transformation to the ray.
- Parameters
-
| [in] | ray | Ray in the original frame (input) |
| [in] | transformation | transformation. |
| [out] | transformed_ray | ray in the transformed frame. |
◆ rt_ray_partial_initialization()
| pure type(t_ray) function mod_ray_tracing::t_ray::rt_ray_partial_initialization |
( |
double precision, dimension(3), intent(in) | origin, |
|
|
double precision, dimension(3), intent(in) | direction ) |
Initialize a ray from origin and direction only.
- Parameters
-
| [in] | origin | Origin of the ray |
| [in] | direction | Direction of the ray |
- Returns
- Initialized ray
The documentation for this type was generated from the following file:
- src/lib/geometry/computational_geometry/ray_tracing/ray_tracing.f90