Skip to content

fossil_boolean

Source: src/lib/fossil_boolean.f90

Dependencies

Contents

Variables

NameTypeAttributesDescription
BOOL_UNIONinteger(kind=I4P)parameter
BOOL_INTERSECTinteger(kind=I4P)parameter
BOOL_DIFFERENCEinteger(kind=I4P)parameter
BOOL_SYMDIFFinteger(kind=I4P)parameter
BOOL_STATUS_OKinteger(kind=I4P)parameter
BOOL_STATUS_CDT_FAILEDinteger(kind=I4P)parameter
BOOL_STATUS_NOT_IMPLEMENTEDinteger(kind=I4P)parameter
BOOL_STATUS_EMPTY_INPUTinteger(kind=I4P)parameter
WN_INSIDE_THRESHOLDreal(kind=R8P)parameter
WN_BOUNDARY_TOLreal(kind=R8P)parameter

Subroutines

boolean_compute

fortran
subroutine boolean_compute(facet_a, tree_a, facet_b, tree_b, op, kept_facet, status)

Arguments

NameTypeIntentAttributesDescription
facet_atype(facet_object)in
tree_atype(aabb_tree_object)intarget
facet_btype(facet_object)in
tree_btype(aabb_tree_object)intarget
opinteger(kind=I4P)in
kept_facettype(facet_object)outallocatable
statusinteger(kind=I4P)outoptional

Call graph

tag_and_select

fortran
subroutine tag_and_select(sub_facet, sub_owner, facet_a, tree_a, facet_b, tree_b, op, kept_facet, status)

Arguments

NameTypeIntentAttributesDescription
sub_facettype(facet_object)in
sub_ownerinteger(kind=I4P)in
facet_atype(facet_object)in
tree_atype(aabb_tree_object)intarget
facet_btype(facet_object)in
tree_btype(aabb_tree_object)intarget
opinteger(kind=I4P)in
kept_facettype(facet_object)outallocatable
statusinteger(kind=I4P)outoptional

Call graph

apply_selection

Attributes: pure

fortran
subroutine apply_selection(op, owner, in_a, in_b, shared, orient_dot, keep, flip, status)

Arguments

NameTypeIntentAttributesDescription
opinteger(kind=I4P)in
ownerinteger(kind=I4P)in
in_alogicalin
in_blogicalin
sharedlogicalin
orient_dotreal(kind=R8P)in
keeplogicalout
fliplogicalout
statusinteger(kind=I4P)outoptional

Call graph

Functions

is_on_other_surface

Returns: logical

fortran
function is_on_other_surface(sub, other_facet, other_tree, orient_dot) result(yes)

Arguments

NameTypeIntentAttributesDescription
subtype(facet_object)in
other_facettype(facet_object)in
other_treetype(aabb_tree_object)intarget
orient_dotreal(kind=R8P)out

Call graph