Skip to content

fossil_ray_query

Source: src/lib/fossil_ray_query.f90

Dependencies

Contents

Variables

NameTypeAttributesDescription
RAY_STATUS_OKinteger(kind=I4P)parameter
RAY_STATUS_BAD_INPUTinteger(kind=I4P)parameter
DIR_TOLreal(kind=R8P)parameter

Derived Types

ray_hit_t

Components

NameTypeAttributesDescription
facet_idinteger(kind=I4P)
treal(kind=R8P)
pointtype(vector_R8P)

Subroutines

ray_intersect_all_flat

fortran
subroutine ray_intersect_all_flat(facet, ray_origin, ray_direction, hits, status)

Arguments

NameTypeIntentAttributesDescription
facettype(facet_object)in
ray_origintype(vector_R8P)in
ray_directiontype(vector_R8P)in
hitstype(ray_hit_t)outallocatable
statusinteger(kind=I4P)outoptional

Call graph

sort_hits_by_t

Attributes: pure

fortran
subroutine sort_hits_by_t(hits)

Arguments

NameTypeIntentAttributesDescription
hitstype(ray_hit_t)inout

Call graph