fossil_box_query
Source: src/lib/fossil_box_query.f90
Dependencies
Contents
- cell_bands
- cell_components
- box_tolerance
- bvh_box_contact_oac
- bvh_box_thin_oac
- curve_box_contact_oac
- curve_box_thin_oac
Variables
| Name | Type | Attributes | Description |
|---|---|---|---|
BOX_NONE | integer(kind=I4P) | parameter | |
BOX_CUT | integer(kind=I4P) | parameter | |
BOX_NEAR | integer(kind=I4P) | parameter | |
BOX_INSIDE | integer(kind=I4P) | parameter | |
BOX_OUTSIDE | integer(kind=I4P) | parameter | |
STACK | integer(kind=I4P) | parameter |
Subroutines
cell_bands
Attributes: pure
fortran
subroutine cell_bands(cut, band, dist)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
cut | logical | in | ||
band | integer(kind=I4P) | in | ||
dist | integer(kind=I4P) | out |
Call graph
cell_components
Attributes: pure
fortran
subroutine cell_components(cut, comp, ncomp, seed)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
cut | logical | in | ||
comp | integer(kind=I4P) | out | ||
ncomp | integer(kind=I4P) | out | ||
seed | integer(kind=I4P) | out | allocatable |
Call graph
Functions
box_tolerance
Attributes: pure
Returns: real(kind=R8P)
fortran
function box_tolerance(bmin, bmax) result(tol)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
bmin | real(kind=R8P) | in | ||
bmax | real(kind=R8P) | in |
Call graph
bvh_box_contact_oac
Attributes: pure
Returns: integer(kind=I4P)
fortran
function bvh_box_contact_oac(node, payload, lo, hi, tol, reach) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
node | type(aabb_node_object) | in | ||
payload | type(facet_distance_payload) | in | ||
lo | real(kind=R8P) | in | ||
hi | real(kind=R8P) | in | ||
tol | real(kind=R8P) | in | ||
reach | real(kind=R8P) | in |
Call graph
bvh_box_thin_oac
Attributes: pure
Returns: logical
fortran
function bvh_box_thin_oac(node, payload, thin_pay, thin_node, lo, hi, tol, factor) result(touch)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
node | type(aabb_node_object) | in | ||
payload | type(facet_distance_payload) | in | ||
thin_pay | real(kind=R8P) | in | ||
thin_node | real(kind=R8P) | in | ||
lo | real(kind=R8P) | in | ||
hi | real(kind=R8P) | in | ||
tol | real(kind=R8P) | in | ||
factor | real(kind=R8P) | in |
Call graph
curve_box_contact_oac
Attributes: pure
Returns: integer(kind=I4P)
fortran
function curve_box_contact_oac(lo_u, lo_v, hi_u, hi_v, left, right, first, last, seg_id, next, u, v, lo, hi, radius) result(code)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
lo_u | real(kind=R8P) | in | ||
lo_v | real(kind=R8P) | in | ||
hi_u | real(kind=R8P) | in | ||
hi_v | real(kind=R8P) | in | ||
left | integer(kind=I4P) | in | ||
right | integer(kind=I4P) | in | ||
first | integer(kind=I4P) | in | ||
last | integer(kind=I4P) | in | ||
seg_id | integer(kind=I4P) | in | ||
next | integer(kind=I4P) | in | ||
u | real(kind=R8P) | in | ||
v | real(kind=R8P) | in | ||
lo | real(kind=R8P) | in | ||
hi | real(kind=R8P) | in | ||
radius | real(kind=R8P) | in |
Call graph
curve_box_thin_oac
Attributes: pure
Returns: logical
fortran
function curve_box_thin_oac(lo_u, lo_v, hi_u, hi_v, left, right, first, last, seg_id, next, u, v, thin_pay, thin_node, lo, hi, factor) result(touch)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
lo_u | real(kind=R8P) | in | ||
lo_v | real(kind=R8P) | in | ||
hi_u | real(kind=R8P) | in | ||
hi_v | real(kind=R8P) | in | ||
left | integer(kind=I4P) | in | ||
right | integer(kind=I4P) | in | ||
first | integer(kind=I4P) | in | ||
last | integer(kind=I4P) | in | ||
seg_id | integer(kind=I4P) | in | ||
next | integer(kind=I4P) | in | ||
u | real(kind=R8P) | in | ||
v | real(kind=R8P) | in | ||
thin_pay | real(kind=R8P) | in | ||
thin_node | real(kind=R8P) | in | ||
lo | real(kind=R8P) | in | ||
hi | real(kind=R8P) | in | ||
factor | real(kind=R8P) | in |
Call graph