fossil_ray_query
Source: src/lib/fossil_ray_query.f90
Dependencies
Contents
Variables
| Name | Type | Attributes | Description |
|---|---|---|---|
RAY_STATUS_OK | integer(kind=I4P) | parameter | |
RAY_STATUS_BAD_INPUT | integer(kind=I4P) | parameter | |
DIR_TOL | real(kind=R8P) | parameter |
Derived Types
ray_hit_t
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
facet_id | integer(kind=I4P) | ||
t | real(kind=R8P) | ||
point | type(vector_R8P) |
ray_exact_t
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
o | real(kind=R8P) | ||
q | real(kind=R8P) | ||
d | real(kind=R8P) | ||
axis | integer(kind=I4P) | ||
pad | real(kind=R8P) |
Subroutines
ray_facet_crossing
fortran
subroutine ray_facet_crossing(ray, facet, hit, t)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
ray | type(ray_exact_t) | in | ||
facet | type(facet_object) | in | ||
hit | logical | out | ||
t | real(kind=R8P) | out |
Call graph
ray_intersect_all_flat
fortran
subroutine ray_intersect_all_flat(facet, ray_origin, ray_direction, hits, status, exclude)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
facet | type(facet_object) | in | ||
ray_origin | type(vector_R8P) | in | ||
ray_direction | type(vector_R8P) | in | ||
hits | type(ray_hit_t) | out | allocatable | |
status | integer(kind=I4P) | out | optional | |
exclude | integer(kind=I4P) | in | optional |
Call graph
facets_box
Attributes: pure
fortran
subroutine facets_box(facet, bmin, bmax)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
facet | type(facet_object) | in | ||
bmin | type(vector_R8P) | out | ||
bmax | type(vector_R8P) | out |
Call graph
sort_hits_by_t
Attributes: pure
fortran
subroutine sort_hits_by_t(hits)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
hits | type(ray_hit_t) | inout |
Call graph
Functions
ray_prepare
Attributes: pure
Returns: type(ray_exact_t)
fortran
function ray_prepare(ray_origin, ray_direction, bmin, bmax, reach) result(ray)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
ray_origin | type(vector_R8P) | in | ||
ray_direction | type(vector_R8P) | in | ||
bmin | type(vector_R8P) | in | ||
bmax | type(vector_R8P) | in | ||
reach | real(kind=R8P) | in | optional |
Call graph