Skip to content

fossil_file_stl_object

Source: src/lib/fossil_file_stl_object.f90

Dependencies

Contents

Derived Types

file_stl_object

Components

NameTypeAttributesDescription
file_namecharacter(len=:)allocatable
file_unitinteger(kind=I4P)
headercharacter(len=FRLEN)
is_asciilogical
is_openlogical

Type-Bound Procedures

NameAttributesDescription
close_filepass(self)
destroypass(self)
initializepass(self)
load_from_filepass(self)
open_filepass(self)
save_aabb_into_filepass(self)
save_into_filepass(self)
statisticspass(self)
assignment(=)
file_stl_assign_file_stlpass(lhs)
load_facets_number_from_filepass(self)
load_header_from_filepass(self)
save_header_into_filepass(self)
save_trailer_into_filepass(self)

Subroutines

close_file

fortran
subroutine close_file(self)

Arguments

NameTypeIntentAttributesDescription
selfclass(file_stl_object)inout

Call graph

destroy

Attributes: elemental

fortran
subroutine destroy(self)

Arguments

NameTypeIntentAttributesDescription
selfclass(file_stl_object)inout

Call graph

initialize

Attributes: elemental

fortran
subroutine initialize(self, skip_destroy, file_name, is_ascii)

Arguments

NameTypeIntentAttributesDescription
selfclass(file_stl_object)inout
skip_destroylogicalinoptional
file_namecharacter(len=*)inoptional
is_asciilogicalinoptional

Call graph

load_from_file

fortran
subroutine load_from_file(self, facet, file_name, is_ascii, guess_format, clip_min, clip_max)

Arguments

NameTypeIntentAttributesDescription
selfclass(file_stl_object)inout
facettype(facet_object)outallocatable
file_namecharacter(len=*)inoptional
is_asciilogicalinoptional
guess_formatlogicalinoptional
clip_mintype(vector_R8P)inoptional
clip_maxtype(vector_R8P)inoptional

Call graph

open_file

fortran
subroutine open_file(self, file_action, guess_format)

Arguments

NameTypeIntentAttributesDescription
selfclass(file_stl_object)inout
file_actioncharacter(len=*)in
guess_formatlogicalinoptional

Call graph

save_aabb_into_file

fortran
subroutine save_aabb_into_file(self, surface, base_file_name, is_ascii)

Arguments

NameTypeIntentAttributesDescription
selfclass(file_stl_object)inout
surfacetype(surface_stl_object)in
base_file_namecharacter(len=*)inoptional
is_asciilogicalinoptional

Call graph

save_into_file

fortran
subroutine save_into_file(self, facet, file_name, is_ascii)

Arguments

NameTypeIntentAttributesDescription
selfclass(file_stl_object)inout
facettype(facet_object)in
file_namecharacter(len=*)inoptional
is_asciilogicalinoptional

Call graph

file_stl_assign_file_stl

Attributes: pure

fortran
subroutine file_stl_assign_file_stl(lhs, rhs)

Arguments

NameTypeIntentAttributesDescription
lhsclass(file_stl_object)inout
rhstype(file_stl_object)in

load_facets_number_from_file

fortran
subroutine load_facets_number_from_file(self, facets_number)

Arguments

NameTypeIntentAttributesDescription
selfclass(file_stl_object)inout
facets_numberinteger(kind=I4P)out

Call graph

load_header_from_file

fortran
subroutine load_header_from_file(self)

Arguments

NameTypeIntentAttributesDescription
selfclass(file_stl_object)inout

Call graph

save_header_into_file

fortran
subroutine save_header_into_file(self, facets_number)

Arguments

NameTypeIntentAttributesDescription
selfclass(file_stl_object)inout
facets_numberinteger(kind=I4P)in

Call graph

save_trailer_into_file

fortran
subroutine save_trailer_into_file(self)

Arguments

NameTypeIntentAttributesDescription
selfclass(file_stl_object)inout

Call graph

Functions

statistics

Attributes: pure

Returns: character(len=:)

fortran
function statistics(self, prefix) result(stats)

Arguments

NameTypeIntentAttributesDescription
selfclass(file_stl_object)in
prefixcharacter(len=*)inoptional