fossil_curve_slice
Source: src/lib/fossil_curve_slice.f90
Dependencies
Contents
- slice_planes_t
- slice_surface
- slice_planes_prepare
- slice_surface_plane
- slice_surface_planes
- slice_triangles
- facet_segment
- finish_section
- sort_levels
- chain
- sort_starts
- slice_triangles_layout
- slice_triangles_kernel
- facet_segment_dev
- crossing_dev
- sort_starts_dev
- drop_collinear
- lex_less
- find_start
- start_before
- find_start_dev
Derived Types
slice_planes_t
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
normal_axis | integer(kind=I4P) | ||
on_plane_low | logical | ||
levels | real(kind=R8P) | allocatable | |
first | integer(kind=I4P) | allocatable | |
facet | integer(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
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
surface | type(surface_stl_object) | in | ||
normal_axis | integer(kind=I4P) | in | ||
level | real(kind=R8P) | in | ||
curve | type(curve_object) | inout | ||
merge_collinear | logical | in | optional | |
open_loops | integer(kind=I4P) | out | optional | |
on_plane_low | logical | in | optional | |
status | integer(kind=I4P) | out | optional | |
pose | type(rigid_pose_t) | in | optional |
Call graph
slice_planes_prepare
fortran
subroutine slice_planes_prepare(surface, normal_axis, levels, planes, on_plane_low, status, spans)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
surface | type(surface_stl_object) | in | ||
normal_axis | integer(kind=I4P) | in | ||
levels | real(kind=R8P) | in | ||
planes | type(slice_planes_t) | out | ||
on_plane_low | logical | in | optional | |
status | integer(kind=I4P) | out | optional | |
spans | real(kind=R8P) | in | optional |
Call graph
slice_surface_plane
fortran
subroutine slice_surface_plane(surface, planes, b, curve, merge_collinear, open_loops, status, pose)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
surface | type(surface_stl_object) | in | ||
planes | type(slice_planes_t) | in | ||
b | integer(kind=I4P) | in | ||
curve | type(curve_object) | inout | ||
merge_collinear | logical | in | optional | |
open_loops | integer(kind=I4P) | out | optional | |
status | integer(kind=I4P) | out | optional | |
pose | type(rigid_pose_t) | in | optional |
Call graph
slice_surface_planes
fortran
subroutine slice_surface_planes(surface, normal_axis, levels, curves, merge_collinear, on_plane_low, status)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
surface | type(surface_stl_object) | in | ||
normal_axis | integer(kind=I4P) | in | ||
levels | real(kind=R8P) | in | ||
curves | type(curve_object) | inout | allocatable | |
merge_collinear | logical | in | optional | |
on_plane_low | logical | in | optional | |
status | integer(kind=I4P) | out | optional |
Call graph
slice_triangles
fortran
subroutine slice_triangles(tri, axis, level, u, v, nxt)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
tri | real(kind=R8P) | in | ||
axis | integer(kind=I4P) | in | ||
level | real(kind=R8P) | in | ||
u | real(kind=R8P) | out | allocatable | |
v | real(kind=R8P) | out | allocatable | |
nxt | integer(kind=I4P) | out | allocatable |
Call graph
facet_segment
Attributes: pure
fortran
subroutine facet_segment(x, normal_axis, level, low, pa, pb, hit)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R8P) | in | ||
normal_axis | integer(kind=I4P) | in | ||
level | real(kind=R8P) | in | ||
low | logical | in | ||
pa | real(kind=R8P) | out | ||
pb | real(kind=R8P) | out | ||
hit | logical | out |
Call graph
finish_section
fortran
subroutine finish_section(surface, normal_axis, s, sp, merge_, curve, nopen)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
surface | type(surface_stl_object) | in | ||
normal_axis | integer(kind=I4P) | in | ||
s | real(kind=R8P) | in | ||
sp | integer(kind=I4P) | in | ||
merge_ | logical | in | ||
curve | type(curve_object) | inout | ||
nopen | integer(kind=I4P) | out |
Call graph
sort_levels
Attributes: pure
fortran
subroutine sort_levels(levels, ord)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
levels | real(kind=R8P) | in | ||
ord | integer(kind=I4P) | inout |
Call graph
chain
fortran
subroutine chain(s, lu, lv, sizes, closed, nopen, sp, lp)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
s | real(kind=R8P) | in | ||
lu | real(kind=R8P) | out | allocatable | |
lv | real(kind=R8P) | out | allocatable | |
sizes | integer(kind=I4P) | out | allocatable | |
closed | logical | out | allocatable | |
nopen | integer(kind=I4P) | out | ||
sp | integer(kind=I4P) | in | ||
lp | integer(kind=I4P) | out | allocatable |
Call graph
sort_starts
Attributes: pure
fortran
subroutine sort_starts(s, ord)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
s | real(kind=R8P) | in | ||
ord | integer(kind=I4P) | inout |
Call graph
slice_triangles_layout
Attributes: pure
fortran
subroutine slice_triangles_layout(n, ru, rv, inx, nrw, niw)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
n | integer(kind=I4P) | in | ||
ru | integer(kind=I4P) | out | ||
rv | integer(kind=I4P) | out | ||
inx | integer(kind=I4P) | out | ||
nrw | integer(kind=I4P) | out | ||
niw | integer(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
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
n | integer(kind=I4P) | in | ||
tri | real(kind=R8P) | in | ||
axis | integer(kind=I4P) | in | ||
level | real(kind=R8P) | in | ||
nrw | integer(kind=I4P) | in | ||
rw | real(kind=R8P) | inout | ||
niw | integer(kind=I4P) | in | ||
iw | integer(kind=I4P) | inout | ||
nv | integer(kind=I4P) | out |
Call graph
facet_segment_dev
Attributes: pure
fortran
subroutine facet_segment_dev(x, normal_axis, level, low, pa, pb, hit)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R8P) | in | ||
normal_axis | integer(kind=I4P) | in | ||
level | real(kind=R8P) | in | ||
low | logical | in | ||
pa | real(kind=R8P) | out | ||
pb | real(kind=R8P) | out | ||
hit | logical | out |
Call graph
crossing_dev
Attributes: pure
fortran
subroutine crossing_dev(p, q, axis, level, c)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
p | real(kind=R8P) | in | ||
q | real(kind=R8P) | in | ||
axis | integer(kind=I4P) | in | ||
level | real(kind=R8P) | in | ||
c | real(kind=R8P) | out |
Call graph
sort_starts_dev
Attributes: pure
fortran
subroutine sort_starts_dev(m, s, ord, tmp)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
m | integer(kind=I4P) | in | ||
s | real(kind=R8P) | in | ||
ord | integer(kind=I4P) | inout | ||
tmp | integer(kind=I4P) | inout |
Call graph
drop_collinear
Attributes: pure
fortran
subroutine drop_collinear(lu, lv, sizes, closed, lp)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
lu | real(kind=R8P) | inout | allocatable | |
lv | real(kind=R8P) | inout | allocatable | |
sizes | integer(kind=I4P) | inout | allocatable | |
closed | logical | in | ||
lp | integer(kind=I4P) | inout | allocatable |
Call graph
Functions
lex_less
Attributes: pure
Returns: logical
fortran
function lex_less(a, b) result(less)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
a | real(kind=R8P) | in | ||
b | real(kind=R8P) | in |
Call graph
find_start
Attributes: pure
Returns: integer(kind=I4P)
fortran
function find_start(s, ord, p, used) result(k)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
s | real(kind=R8P) | in | ||
ord | integer(kind=I4P) | in | ||
p | real(kind=R8P) | in | ||
used | logical | in |
Call graph
start_before
Attributes: pure
Returns: logical
fortran
function start_before(s, a, b)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
s | real(kind=R8P) | in | ||
a | integer(kind=I4P) | in | ||
b | integer(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
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
m | integer(kind=I4P) | in | ||
s | real(kind=R8P) | in | ||
ord | integer(kind=I4P) | in | ||
pu | real(kind=R8P) | in | ||
pv | real(kind=R8P) | in | ||
used | integer(kind=I4P) | in |
Call graph