Skip to content

fossil_curve_slice ​

Source: src/lib/fossil_curve_slice.f90

Dependencies

Contents ​

Subroutines ​

slice_surface ​

fortran
subroutine slice_surface(surface, normal_axis, level, curve, merge_collinear, open_loops, on_plane_low, status)

Arguments

NameTypeIntentAttributesDescription
surfacetype(surface_stl_object)in
normal_axisinteger(kind=I4P)in
levelreal(kind=R8P)in
curvetype(curve_object)inout
merge_collinearlogicalinoptional
open_loopsinteger(kind=I4P)outoptional
on_plane_lowlogicalinoptional
statusinteger(kind=I4P)outoptional

Call graph

chain ​

fortran
subroutine chain(s, lu, lv, sizes, closed, nopen, sp, lp)

Arguments

NameTypeIntentAttributesDescription
sreal(kind=R8P)in
lureal(kind=R8P)outallocatable
lvreal(kind=R8P)outallocatable
sizesinteger(kind=I4P)outallocatable
closedlogicaloutallocatable
nopeninteger(kind=I4P)out
spinteger(kind=I4P)in
lpinteger(kind=I4P)outallocatable

Call graph

sort_starts ​

Attributes: pure

fortran
subroutine sort_starts(s, ord)

Arguments

NameTypeIntentAttributesDescription
sreal(kind=R8P)in
ordinteger(kind=I4P)inout

Call graph

drop_collinear ​

Attributes: pure

fortran
subroutine drop_collinear(lu, lv, sizes, closed, lp)

Arguments

NameTypeIntentAttributesDescription
lureal(kind=R8P)inoutallocatable
lvreal(kind=R8P)inoutallocatable
sizesinteger(kind=I4P)inoutallocatable
closedlogicalin
lpinteger(kind=I4P)inoutallocatable

Call graph

Functions ​

crossing ​

Attributes: pure

Returns: real(kind=R8P)

fortran
function crossing(p, q, axis, level) result(c)

Arguments

NameTypeIntentAttributesDescription
preal(kind=R8P)in
qreal(kind=R8P)in
axisinteger(kind=I4P)in
levelreal(kind=R8P)in

Call graph

in_plane ​

Attributes: pure

Returns: real(kind=R8P)

fortran
function in_plane(x, axis) result(uv)

Arguments

NameTypeIntentAttributesDescription
xreal(kind=R8P)in
axisinteger(kind=I4P)in

Call graph

lex_less ​

Attributes: pure

Returns: logical

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

Arguments

NameTypeIntentAttributesDescription
areal(kind=R8P)in
breal(kind=R8P)in

Call graph

find_start ​

Attributes: pure

Returns: integer(kind=I4P)

fortran
function find_start(s, ord, p, used) result(k)

Arguments

NameTypeIntentAttributesDescription
sreal(kind=R8P)in
ordinteger(kind=I4P)in
preal(kind=R8P)in
usedlogicalin

Call graph