Skip to content

fossil_curve_slice ​

Source: src/lib/fossil_curve_slice.f90

Dependencies

Contents ​

Derived Types ​

slice_planes_t ​

Components

NameTypeAttributesDescription
normal_axisinteger(kind=I4P)
on_plane_lowlogical
levelsreal(kind=R8P)allocatable
firstinteger(kind=I4P)allocatable
facetinteger(kind=I4P)allocatable

Subroutines ​

slice_surface ​

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

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
posetype(rigid_pose_t)inoptional

Call graph

slice_planes_prepare ​

fortran
subroutine slice_planes_prepare(surface, normal_axis, levels, planes, on_plane_low, status, spans)

Arguments

NameTypeIntentAttributesDescription
surfacetype(surface_stl_object)in
normal_axisinteger(kind=I4P)in
levelsreal(kind=R8P)in
planestype(slice_planes_t)out
on_plane_lowlogicalinoptional
statusinteger(kind=I4P)outoptional
spansreal(kind=R8P)inoptional

Call graph

slice_surface_plane ​

fortran
subroutine slice_surface_plane(surface, planes, b, curve, merge_collinear, open_loops, status, pose)

Arguments

NameTypeIntentAttributesDescription
surfacetype(surface_stl_object)in
planestype(slice_planes_t)in
binteger(kind=I4P)in
curvetype(curve_object)inout
merge_collinearlogicalinoptional
open_loopsinteger(kind=I4P)outoptional
statusinteger(kind=I4P)outoptional
posetype(rigid_pose_t)inoptional

Call graph

slice_surface_planes ​

fortran
subroutine slice_surface_planes(surface, normal_axis, levels, curves, merge_collinear, on_plane_low, status)

Arguments

NameTypeIntentAttributesDescription
surfacetype(surface_stl_object)in
normal_axisinteger(kind=I4P)in
levelsreal(kind=R8P)in
curvestype(curve_object)inoutallocatable
merge_collinearlogicalinoptional
on_plane_lowlogicalinoptional
statusinteger(kind=I4P)outoptional

Call graph

slice_triangles ​

fortran
subroutine slice_triangles(tri, axis, level, u, v, nxt)

Arguments

NameTypeIntentAttributesDescription
trireal(kind=R8P)in
axisinteger(kind=I4P)in
levelreal(kind=R8P)in
ureal(kind=R8P)outallocatable
vreal(kind=R8P)outallocatable
nxtinteger(kind=I4P)outallocatable

Call graph

facet_segment ​

Attributes: pure

fortran
subroutine facet_segment(x, normal_axis, level, low, pa, pb, hit)

Arguments

NameTypeIntentAttributesDescription
xreal(kind=R8P)in
normal_axisinteger(kind=I4P)in
levelreal(kind=R8P)in
lowlogicalin
pareal(kind=R8P)out
pbreal(kind=R8P)out
hitlogicalout

Call graph

finish_section ​

fortran
subroutine finish_section(surface, normal_axis, s, sp, merge_, curve, nopen)

Arguments

NameTypeIntentAttributesDescription
surfacetype(surface_stl_object)in
normal_axisinteger(kind=I4P)in
sreal(kind=R8P)in
spinteger(kind=I4P)in
merge_logicalin
curvetype(curve_object)inout
nopeninteger(kind=I4P)out

Call graph

sort_levels ​

Attributes: pure

fortran
subroutine sort_levels(levels, ord)

Arguments

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

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

slice_triangles_layout ​

Attributes: pure

fortran
subroutine slice_triangles_layout(n, ru, rv, inx, nrw, niw)

Arguments

NameTypeIntentAttributesDescription
ninteger(kind=I4P)in
ruinteger(kind=I4P)out
rvinteger(kind=I4P)out
inxinteger(kind=I4P)out
nrwinteger(kind=I4P)out
niwinteger(kind=I4P)out

Call graph

slice_triangles_kernel ​

Attributes: pure

fortran
subroutine slice_triangles_kernel(n, tri, axis, level, nrw, rw, niw, iw, nv)

Arguments

NameTypeIntentAttributesDescription
ninteger(kind=I4P)in
trireal(kind=R8P)in
axisinteger(kind=I4P)in
levelreal(kind=R8P)in
nrwinteger(kind=I4P)in
rwreal(kind=R8P)inout
niwinteger(kind=I4P)in
iwinteger(kind=I4P)inout
nvinteger(kind=I4P)out

Call graph

facet_segment_dev ​

Attributes: pure

fortran
subroutine facet_segment_dev(x, normal_axis, level, low, pa, pb, hit)

Arguments

NameTypeIntentAttributesDescription
xreal(kind=R8P)in
normal_axisinteger(kind=I4P)in
levelreal(kind=R8P)in
lowlogicalin
pareal(kind=R8P)out
pbreal(kind=R8P)out
hitlogicalout

Call graph

crossing_dev ​

Attributes: pure

fortran
subroutine crossing_dev(p, q, axis, level, c)

Arguments

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

Call graph

sort_starts_dev ​

Attributes: pure

fortran
subroutine sort_starts_dev(m, s, ord, tmp)

Arguments

NameTypeIntentAttributesDescription
minteger(kind=I4P)in
sreal(kind=R8P)in
ordinteger(kind=I4P)inout
tmpinteger(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 ​

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

start_before ​

Attributes: pure

Returns: logical

fortran
function start_before(s, a, b)

Arguments

NameTypeIntentAttributesDescription
sreal(kind=R8P)in
ainteger(kind=I4P)in
binteger(kind=I4P)in

Call graph

find_start_dev ​

Attributes: pure

Returns: integer(kind=i4p)

fortran
function find_start_dev(m, s, ord, pu, pv, used) result(k)

Arguments

NameTypeIntentAttributesDescription
minteger(kind=I4P)in
sreal(kind=R8P)in
ordinteger(kind=I4P)in
pureal(kind=R8P)in
pvreal(kind=R8P)in
usedinteger(kind=I4P)in

Call graph