Appearance
fossil_file_stl_object
Source: src/lib/fossil_file_stl_object.f90
Dependencies
Contents
- file_stl_object
- close_file
- destroy
- initialize
- load_from_file
- open_file
- save_aabb_into_file
- save_into_file
- file_stl_assign_file_stl
- load_facets_number_from_file
- load_header_from_file
- save_header_into_file
- save_trailer_into_file
- statistics
Derived Types
file_stl_object
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
file_name | character(len=:) | allocatable | |
file_unit | integer(kind=I4P) | ||
header | character(len=FRLEN) | ||
is_ascii | logical | ||
is_open | logical |
Type-Bound Procedures
| Name | Attributes | Description |
|---|---|---|
close_file | pass(self) | |
destroy | pass(self) | |
initialize | pass(self) | |
load_from_file | pass(self) | |
open_file | pass(self) | |
save_aabb_into_file | pass(self) | |
save_into_file | pass(self) | |
statistics | pass(self) | |
assignment(=) | ||
file_stl_assign_file_stl | pass(lhs) | |
load_facets_number_from_file | pass(self) | |
load_header_from_file | pass(self) | |
save_header_into_file | pass(self) | |
save_trailer_into_file | pass(self) |
Subroutines
close_file
fortran
subroutine close_file(self)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(file_stl_object) | inout |
Call graph
destroy
Attributes: elemental
fortran
subroutine destroy(self)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(file_stl_object) | inout |
Call graph
initialize
Attributes: elemental
fortran
subroutine initialize(self, skip_destroy, file_name, is_ascii)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(file_stl_object) | inout | ||
skip_destroy | logical | in | optional | |
file_name | character(len=*) | in | optional | |
is_ascii | logical | in | optional |
Call graph
load_from_file
fortran
subroutine load_from_file(self, facet, file_name, is_ascii, guess_format, clip_min, clip_max)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(file_stl_object) | inout | ||
facet | type(facet_object) | out | allocatable | |
file_name | character(len=*) | in | optional | |
is_ascii | logical | in | optional | |
guess_format | logical | in | optional | |
clip_min | type(vector_R8P) | in | optional | |
clip_max | type(vector_R8P) | in | optional |
Call graph
open_file
fortran
subroutine open_file(self, file_action, guess_format)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(file_stl_object) | inout | ||
file_action | character(len=*) | in | ||
guess_format | logical | in | optional |
Call graph
save_aabb_into_file
fortran
subroutine save_aabb_into_file(self, surface, base_file_name, is_ascii)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(file_stl_object) | inout | ||
surface | type(surface_stl_object) | in | ||
base_file_name | character(len=*) | in | optional | |
is_ascii | logical | in | optional |
Call graph
save_into_file
fortran
subroutine save_into_file(self, facet, file_name, is_ascii)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(file_stl_object) | inout | ||
facet | type(facet_object) | in | ||
file_name | character(len=*) | in | optional | |
is_ascii | logical | in | optional |
Call graph
file_stl_assign_file_stl
Attributes: pure
fortran
subroutine file_stl_assign_file_stl(lhs, rhs)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
lhs | class(file_stl_object) | inout | ||
rhs | type(file_stl_object) | in |
load_facets_number_from_file
fortran
subroutine load_facets_number_from_file(self, facets_number)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(file_stl_object) | inout | ||
facets_number | integer(kind=I4P) | out |
Call graph
load_header_from_file
fortran
subroutine load_header_from_file(self)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(file_stl_object) | inout |
Call graph
save_header_into_file
fortran
subroutine save_header_into_file(self, facets_number)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(file_stl_object) | inout | ||
facets_number | integer(kind=I4P) | in |
Call graph
save_trailer_into_file
fortran
subroutine save_trailer_into_file(self)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(file_stl_object) | inout |
Call graph
Functions
statistics
Attributes: pure
Returns: character(len=:)
fortran
function statistics(self, prefix) result(stats)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(file_stl_object) | in | ||
prefix | character(len=*) | in | optional |