Skip to content

fossil_tritri_exact ​

Source: src/lib/fossil_tritri_exact.f90

Dependencies

Contents ​

Variables ​

NameTypeAttributesDescription
PAIR_SEPARATEDinteger(kind=I4P)parameter
PAIR_CROSSINGinteger(kind=I4P)parameter
PAIR_TOUCHINGinteger(kind=I4P)parameter
PAIR_COPLANARinteger(kind=I4P)parameter
SNAP_RELreal(kind=R8P)parameter

Subroutines ​

pair_classify ​

fortran
subroutine pair_classify(ta, tb, kind, p, q)

Arguments

NameTypeIntentAttributesDescription
tatype(vector_R8P)in
tbtype(vector_R8P)in
kindinteger(kind=I4P)out
ptype(vector_R8P)out
qtype(vector_R8P)out

Call graph

plane_section ​

fortran
subroutine plane_section(t, s, other, x, n)

Arguments

NameTypeIntentAttributesDescription
ttype(vector_R8P)in
sinteger(kind=I4P)in
othertype(vector_R8P)in
xtype(vector_R8P)out
ninteger(kind=I4P)out

Call graph

coplanar_portion ​

fortran
subroutine coplanar_portion(u, v, t, found, p, q)

Arguments

NameTypeIntentAttributesDescription
utype(vector_R8P)in
vtype(vector_R8P)in
ttype(vector_R8P)in
foundlogicalout
ptype(vector_R8P)out
qtype(vector_R8P)out

Call graph

pair_cut ​

fortran
subroutine pair_cut(ta, tb, kind, p, q)

Arguments

NameTypeIntentAttributesDescription
tatype(vector_R8P)in
tbtype(vector_R8P)in
kindinteger(kind=I4P)out
ptype(implicit_point_t)out
qtype(implicit_point_t)out

Call graph

section_ip ​

fortran
subroutine section_ip(t, s, other, x, n)

Arguments

NameTypeIntentAttributesDescription
ttype(vector_R8P)in
sinteger(kind=I4P)in
othertype(vector_R8P)in
xtype(implicit_point_t)out
ninteger(kind=I4P)out

Call graph

coplanar_cut ​

fortran
subroutine coplanar_cut(u, v, t, found, p, q)

Arguments

NameTypeIntentAttributesDescription
utype(vector_R8P)in
vtype(vector_R8P)in
ttype(vector_R8P)in
foundlogicalout
ptype(implicit_point_t)out
qtype(implicit_point_t)out

Call graph

degenerate_pair_contact ​

Attributes: pure

fortran
subroutine degenerate_pair_contact(a, b, kind, x, beyond_shared)

Arguments

NameTypeIntentAttributesDescription
areal(kind=R8P)in
breal(kind=R8P)in
kindinteger(kind=I4P)out
xtype(implicit_point_t)out
beyond_sharedlogicalinoptional

Call graph

segment_triangle_contact ​

Attributes: pure

fortran
subroutine segment_triangle_contact(p, q, t, drop, kind, x)

Arguments

NameTypeIntentAttributesDescription
preal(kind=R8P)in
qreal(kind=R8P)in
treal(kind=R8P)in
dropinteger(kind=I4P)in
kindinteger(kind=I4P)out
xtype(implicit_point_t)out

Call graph

segment_segment_contact ​

Attributes: pure

fortran
subroutine segment_segment_contact(a0, a1, b0, b1, kind, x)

Arguments

NameTypeIntentAttributesDescription
a0real(kind=R8P)in
a1real(kind=R8P)in
b0real(kind=R8P)in
b1real(kind=R8P)in
kindinteger(kind=I4P)out
xtype(implicit_point_t)out

Call graph

contact_beyond_shared ​

Attributes: pure

fortran
subroutine contact_beyond_shared(a, b, da, db, s, kind)

Arguments

NameTypeIntentAttributesDescription
areal(kind=R8P)in
breal(kind=R8P)in
dainteger(kind=I4P)in
dbinteger(kind=I4P)in
sreal(kind=R8P)in
kindinteger(kind=I4P)out

Call graph

hull_ends ​

Attributes: pure

fortran
subroutine hull_ends(t, e0, e1)

Arguments

NameTypeIntentAttributesDescription
treal(kind=R8P)in
e0real(kind=R8P)out
e1real(kind=R8P)out

Call graph

sorted2 ​

Attributes: pure

fortran
subroutine sorted2(u, v, a, b)

Arguments

NameTypeIntentAttributesDescription
utype(vector_R8P)in
vtype(vector_R8P)in
atype(vector_R8P)out
btype(vector_R8P)out

Call graph

sorted3 ​

Attributes: pure

fortran
subroutine sorted3(u, v, w, a, b, c)

Arguments

NameTypeIntentAttributesDescription
utype(vector_R8P)in
vtype(vector_R8P)in
wtype(vector_R8P)in
atype(vector_R8P)out
btype(vector_R8P)out
ctype(vector_R8P)out

Call graph

Functions ​

crossing_point ​

Returns: type(vector_R8P)

fortran
function crossing_point(u, v, other) result(x)

Arguments

NameTypeIntentAttributesDescription
utype(vector_R8P)in
vtype(vector_R8P)in
othertype(vector_R8P)in

Call graph

edge_plane_point ​

Attributes: pure

Returns: type(vector_R8P)

fortran
function edge_plane_point(u, v, t) result(x)

Arguments

NameTypeIntentAttributesDescription
utype(vector_R8P)in
vtype(vector_R8P)in
ttype(vector_R8P)in

Call graph

edge_edge_point ​

Attributes: pure

Returns: type(vector_R8P)

fortran
function edge_edge_point(p0, p1, q0, q1) result(x)

Arguments

NameTypeIntentAttributesDescription
p0type(vector_R8P)in
p1type(vector_R8P)in
q0type(vector_R8P)in
q1type(vector_R8P)in

Call graph

lex_less ​

Attributes: pure

Returns: logical

fortran
function lex_less(a, b) result(less)

Arguments

NameTypeIntentAttributesDescription
atype(vector_R8P)in
btype(vector_R8P)in

Call graph

crossing_ip ​

Returns: type(implicit_point_t)

fortran
function crossing_ip(u, v, other) result(x)

Arguments

NameTypeIntentAttributesDescription
utype(vector_R8P)in
vtype(vector_R8P)in
othertype(vector_R8P)in

Call graph

facet_drop ​

Attributes: pure

Returns: integer(kind=I4P)

fortran
function facet_drop(t) result(drop)

Arguments

NameTypeIntentAttributesDescription
ttype(vector_R8P)in

Call graph

o2p ​

Attributes: pure

Returns: integer(kind=I4P)

fortran
function o2p(a, b, c, drop) result(s)

Arguments

NameTypeIntentAttributesDescription
areal(kind=R8P)in
breal(kind=R8P)in
creal(kind=R8P)in
dropinteger(kind=I4P)in

Call graph

degenerate_pair_meet ​

Attributes: pure

Returns: logical

fortran
function degenerate_pair_meet(a, b, drop_a, drop_b) result(meet)

Arguments

NameTypeIntentAttributesDescription
areal(kind=R8P)in
breal(kind=R8P)in
drop_ainteger(kind=I4P)inoptional
drop_binteger(kind=I4P)inoptional

Call graph

lex_lt ​

Attributes: pure

Returns: logical

fortran
function lex_lt(p, q) result(less)

Arguments

NameTypeIntentAttributesDescription
preal(kind=R8P)in
qreal(kind=R8P)in

Call graph

segment_triangle_meet ​

Attributes: pure

Returns: logical

fortran
function segment_triangle_meet(p, q, t, drop) result(meet)

Arguments

NameTypeIntentAttributesDescription
preal(kind=R8P)in
qreal(kind=R8P)in
treal(kind=R8P)in
dropinteger(kind=I4P)in

Call graph

segment_segment_meet ​

Attributes: pure

Returns: logical

fortran
function segment_segment_meet(a0, a1, b0, b1) result(meet)

Arguments

NameTypeIntentAttributesDescription
a0real(kind=R8P)in
a1real(kind=R8P)in
b0real(kind=R8P)in
b1real(kind=R8P)in

Call graph

collinear_3d ​

Attributes: pure

Returns: logical

fortran
function collinear_3d(p, q, r) result(yes)

Arguments

NameTypeIntentAttributesDescription
preal(kind=R8P)in
qreal(kind=R8P)in
rreal(kind=R8P)in

Call graph

nonzero_drop ​

Attributes: pure

Returns: integer(kind=I4P)

fortran
function nonzero_drop(p, q, r) result(drop)

Arguments

NameTypeIntentAttributesDescription
preal(kind=R8P)in
qreal(kind=R8P)in
rreal(kind=R8P)in

Call graph

on_segment_3d ​

Attributes: pure

Returns: logical

fortran
function on_segment_3d(x, p, q) result(yes)

Arguments

NameTypeIntentAttributesDescription
xreal(kind=R8P)in
preal(kind=R8P)in
qreal(kind=R8P)in

Call graph

in_triangle_2d ​

Attributes: pure

Returns: logical

fortran
function in_triangle_2d(x, t, drop) result(yes)

Arguments

NameTypeIntentAttributesDescription
xreal(kind=R8P)in
treal(kind=R8P)in
dropinteger(kind=I4P)in

Call graph

segments_meet_2d ​

Attributes: pure

Returns: logical

fortran
function segments_meet_2d(p1, q1, p2, q2, drop) result(yes)

Arguments

NameTypeIntentAttributesDescription
p1real(kind=R8P)in
q1real(kind=R8P)in
p2real(kind=R8P)in
q2real(kind=R8P)in
dropinteger(kind=I4P)in

Call graph

in_box_2d ​

Attributes: pure

Returns: logical

fortran
function in_box_2d(x, p, q, drop) result(yes)

Arguments

NameTypeIntentAttributesDescription
xreal(kind=R8P)in
preal(kind=R8P)in
qreal(kind=R8P)in
dropinteger(kind=I4P)in

Call graph

preferred ​

Attributes: pure

Returns: type(implicit_point_t)

fortran
function preferred(a, b) result(c)

Arguments

NameTypeIntentAttributesDescription
atype(implicit_point_t)in
btype(implicit_point_t)in

Call graph

arr3 ​

Attributes: pure

Returns: real(kind=R8P)

fortran
function arr3(a) result(r)

Arguments

NameTypeIntentAttributesDescription
atype(vector_R8P)in

Call graph

isgn ​

Attributes: pure

Returns: integer(kind=I4P)

fortran
function isgn(v) result(s)

Arguments

NameTypeIntentAttributesDescription
vreal(kind=R8P)in

Call graph

orient_in_plane ​

Returns: integer(kind=I4P)

fortran
function orient_in_plane(a, b, c, drop, tol) result(s)

Arguments

NameTypeIntentAttributesDescription
atype(vector_R8P)in
btype(vector_R8P)in
ctype(vector_R8P)in
dropinteger(kind=I4P)in
tolreal(kind=R8P)in

Call graph

proj ​

Attributes: pure

Returns: type(vector_R8P)

fortran
function proj(a, drop) result(r)

Arguments

NameTypeIntentAttributesDescription
atype(vector_R8P)in
dropinteger(kind=I4P)in

Call graph

between ​

Attributes: pure

Returns: logical

fortran
function between(w, a, b, axis) result(yes)

Arguments

NameTypeIntentAttributesDescription
wtype(vector_R8P)in
atype(vector_R8P)in
btype(vector_R8P)in
axisinteger(kind=I4P)in

Call graph

same_point ​

Attributes: pure

Returns: logical

fortran
function same_point(a, b) result(same)

Arguments

NameTypeIntentAttributesDescription
atype(vector_R8P)in
btype(vector_R8P)in

Call graph

snap_to_vertices ​

Attributes: pure

Returns: type(vector_R8P)

fortran
function snap_to_vertices(x, ta, tb, tol) result(y)

Arguments

NameTypeIntentAttributesDescription
xtype(vector_R8P)in
tatype(vector_R8P)in
tbtype(vector_R8P)in
tolreal(kind=R8P)in

Call graph

snapped_sign ​

Attributes: pure

Returns: integer(kind=I4P)

fortran
function snapped_sign(det, area2, tol) result(s)

Arguments

NameTypeIntentAttributesDescription
detreal(kind=R8P)in
area2real(kind=R8P)in
tolreal(kind=R8P)in

Call graph

longest_edge ​

Attributes: pure

Returns: real(kind=R8P)

fortran
function longest_edge(t) result(l)

Arguments

NameTypeIntentAttributesDescription
ttype(vector_R8P)in

Call graph

norm ​

Attributes: pure

Returns: real(kind=R8P)

fortran
function norm(a) result(n)

Arguments

NameTypeIntentAttributesDescription
atype(vector_R8P)in

Call graph

sgn ​

Attributes: pure

Returns: integer(kind=I4P)

fortran
function sgn(v) result(s)

Arguments

NameTypeIntentAttributesDescription
vreal(kind=R8P)in

Call graph

cross ​

Attributes: pure

Returns: type(vector_R8P)

fortran
function cross(a, b) result(c)

Arguments

NameTypeIntentAttributesDescription
atype(vector_R8P)in
btype(vector_R8P)in

Call graph

dot ​

Attributes: pure

Returns: real(kind=R8P)

fortran
function dot(a, b) result(d)

Arguments

NameTypeIntentAttributesDescription
atype(vector_R8P)in
btype(vector_R8P)in

Call graph